TX Text Control .NET for Windows Forms

ShowMiniToolbar Property

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

Description

Gets or sets a value indicating whether a mini toolbar is shown. A mini toolbar is a small popup window with formatting options for the current context of the document. The bitwise or operator can be used to combine the values listed below.

Syntax

public MiniToolbarButton ShowMiniToolbar { get; set; }

Members

ValueDescription
LeftButtonA mini toolbar is shown when the left mouse button is released and text is selected.
RightButtonA mini toolbar is shown when the right mouse button is released.
NoneA mini toolbar is never shown.

Examples

The following example uses TextControl.ShowMiniToolbar to configure show mini toolbar as part of the text control workflow. The change is then applied to the active document or user interface.

textControl.ShowMiniToolbar = MiniToolbarButton.LeftButton;
textControl.Update();