TX Text Control .NET for WPF

MiniToolbar 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
Derived
ObjectMiniToolbar, TextMiniToolbar
Implements
IComponentConnector

Description

The WPF.MiniToolbar class is the base class of the built-in mini-toolbars of a WPF.TextControl. A mini-toolbar is a contextual toolbar showing elements to format the document depending on the current context. It is inherited from the System.Windows.Controls.Primitives.Popup class. The following describes only the properties, methods and events defined through the WPF.MiniToolbar class. For a list of properties, methods and events inherited from the System.Windows.Controls.Primitives.Popup class see the .NET Framework reference.

Syntax

public class MiniToolbar : Popup, IComponentConnector

Examples

The following example creates a Mini Toolbar instance and configures its horizontal close distance setting for a document workflow.

TXTextControl.WPF.MiniToolbar miniToolbar = new();
miniToolbar.HorizontalCloseDistance = 1.0;

Members

Constructors

ConstructorDescription
MiniToolbarNot described in the reference. public MiniToolbar();

Properties

PropertyDescription
ContainerNot described in the reference. public Grid Container { get; }
HorizontalCloseDistanceNot described in the reference. public double HorizontalCloseDistance { get; set; }
VerticalCloseDistanceNot described in the reference. public double VerticalCloseDistance { get; set; }

Methods

MethodDescription
InitializeComponentNot described in the reference. public void InitializeComponent();