ShowMiniToolbar Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }Public Property ShowMiniToolbar As MiniToolbarButtonMembers
| Value | Description |
|---|---|
| LeftButton | A mini toolbar is shown when the left mouse button is released and text is selected. |
| RightButton | A mini toolbar is shown when the right mouse button is released. |
| None | A 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();textControl.ShowMiniToolbar = MiniToolbarButton.LeftButton
textControl.Update()