MiniToolbarContext Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets the context in the document for which the mini-toolbar will be opened. The content, which will be shown, depends on this context. The property value can be a combination (bitwise or) of the ContextMenuLocation values.
Syntax
public ContextMenuLocation MiniToolbarContext { get; }Public ReadOnly Property MiniToolbarContext As ContextMenuLocationExamples
The following example includes the mini toolbar context value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Mini Toolbar Context: {miniToolbarOpeningEventArgs.MiniToolbarContext}");
Console.WriteLine("Mini Toolbar Opening Event Args is ready for use.");Console.WriteLine($"Mini Toolbar Context: {miniToolbarOpeningEventArgs.MiniToolbarContext}")
Console.WriteLine("Mini Toolbar Opening Event Args is ready for use.")Limitations
Read only.