ObjectMiniToolbar Class
- Namespace
TXTextControl.WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.WPF. dll
- Inherits
- Popup
- Mini
Toolbar - Object
Mini Toolbar
- Implements
- IComponent
Connector
Description
The ObjectMiniToolbar class is a mini toolbar that appears when the ShowMiniToolbar property is set to MiniToolbarButton.RightButton or MiniToolbarButton.LeftButton | MiniToolbarButton.RightButton, the right mouse button is released and the current context is a selected text frame, drawing frame or barcode frame (ContextMenuLocation.SelectedFrame). The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it during the WPF.TextControl.ObjectMiniToolbarInitialized event. An ObjectMiniToolbar is inherited from the WPF.MiniToolbar class. The following describes only the properties, methods and events defined through the ObjectMiniToolbar class.
Syntax
public class ObjectMiniToolbar : MiniToolbarPublic Class ObjectMiniToolbar
Inherits MiniToolbarExamples
The following example includes the container value from an Object Mini Toolbar object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Container: {objectMiniToolbar.Container}");
Console.WriteLine("Object Mini Toolbar is ready for use.");Console.WriteLine($"Container: {objectMiniToolbar.Container}")
Console.WriteLine("Object Mini Toolbar is ready for use.")Members
Enumerations
| Enumeration | Description |
|---|---|
| RibbonItem | Each RibbonItem represents an item in a WPF.ObjectMiniToolbar. The corresponding string of a RibbonItem is the same as the item's Name property. The string can be used with the FrameworkElement.FindName method to get the item and manipulate, move or delete it. |