TX Text Control .NET for WPF

ButtonBarItem Enumeration

Enumeration
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.

Description

Each ButtonBarItem represents an item in a WPF.ButtonBar. The corresponding string of a ButtonBarItem 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.

Syntax

public enum ButtonBar.ButtonBarItem

Members

MemberValueDescription
TXITEM_StyleName0Identifies the StyleName combobox.
TXITEM_FontFamily1Identifies the FontFamily combobox.
TXITEM_FontSize2Identifies the FontSize combobox.
TXITEM_ZoomFactor3Identifies the ZoomFactor combobox.
TXITEM_Bold4Identifies the Bold button.
TXITEM_Italic5Identifies the Italic button.
TXITEM_Underline6Identifies the Underline button.
TXITEM_Strikeout7Identifies the Strikeout button.
TXITEM_Subscript8Identifies the Subscript button.
TXITEM_Superscript9Identifies the Superscript button.
TXITEM_IncreaseFont10Identifies the IncreaseFont button.
TXITEM_DecreaseFont11Identifies the DecreaseFont button.
TXITEM_LeftAligned12Identifies the LeftAligned button.
TXITEM_Centered13Identifies the Centered button.
TXITEM_RightAligned14Identifies the RightAligned button.
TXITEM_Justified15Identifies the Justified button.
TXITEM_DecreaseIndent16Identifies the DecreaseIndent button.
TXITEM_IncreaseIndent17Identifies the IncreaseIndent button.
TXITEM_LeftToRight18Identifies the LeftToRight button.
TXITEM_RightToLeft19Identifies the RightToLeft button.
TXITEM_BulletedList20Identifies the BulletedList button.
TXITEM_NumberedList21Identifies the NumberedList button.
TXITEM_StructuredList22Identifies the StructuredList button.
TXITEM_ControlChars23Identifies the ControlChars button.

Examples

The following example selects the TXITEM_Style Name value from the Button Bar Item enumeration and uses it as a documented workflow choice.

TXTextControl.WPF.ButtonBar.ButtonBarItem value = TXTextControl.WPF.ButtonBar.ButtonBarItem.TXITEM_StyleName;
Console.WriteLine($"Using Button Bar Item: {value}");