TX Text Control .NET for WPF

ObjectMiniToolbar Class

Class|Introduced in 25.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.
Inherits
  1. Popup
  2. MiniToolbar
  3. ObjectMiniToolbar
Implements
IComponentConnector

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 : MiniToolbar

Examples

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

Members

Enumerations

EnumerationDescription
RibbonItemEach 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.