TX Text Control .NET for WPF

MiniToolbarContext Property

Property|Introduced in 25.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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.");

Limitations

Read only.