TX Text Control .NET for WPF

DocumentSettingsItem Enumeration

Enumeration|Introduced in 26.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.

Description

Each DocumentSettingsItem represents an item in a predefined Document Settings control. The corresponding string of a DocumentSettingsItem is the same as the item's Name property. The DocumentSettingsItem enumeration can be used with the FrameworkElement.FindName method to get the item and manipulate it.

Syntax

public enum Sidebar.DocumentSettingsItem

Members

MemberValueDescription
TXITEM_TitleLabel0Identifies the Titel label.
TXITEM_TitleTextBox1Identifies the Titel text box.
TXITEM_AuthorLabel2Identifies the Author label.
TXITEM_AuthorTextBox3Identifies the Author text box.
TXITEM_CreatedLabel4Identifies the Created label.
TXITEM_DateLabel5Identifies the Created Date label.
TXITEM_SubjectLabel6Identifies the Subject label.
TXITEM_SubjectTextBox7Identifies the Subject text box.
TXITEM_TagsLabel8Identifies the Tags label.
TXITEM_TagsTextBox9Identifies the Tags text box.
TXITEM_FirstVerticalSeparator10Identifies the first vertical separator that is displayed when applying the horizontal sidebar layout.
TXITEM_CustomPropertiesPanel11Identifies the panel that includes all Custom Properies related controls.
TXITEM_CustomPropertiesToggleItem12Identifies the Custom Properties +/- toggle item.
TXITEM_CustomPropertiesLabel13Identifies the Custom Properties label.
TXITEM_CustomPropertiesSeparator14Identifies the Custom Properties separator.
TXITEM_CustomPropertiesSubpanel15Identifies the panel that includes the controls TXITEM_CustomPropertiesListView, TXITEM_AddCustomProperty and TXITEM_DeleteCustomProperty.
TXITEM_AddCustomProperty17Identifies the Add Custom Property button.
TXITEM_DeleteCustomProperty18Identifies the Delete Custom Property button.
TXITEM_SecondVerticalSeparator19Identifies the second vertical separator that is displayed when applying the horizontal sidebar layout.
TXITEM_EmbeddedFilesPanel20Identifies the panel that includes all Embedded Files related controls.
TXITEM_EmbeddedFilesToggleItem21Identifies the Embedded Files +/- toggle item.
TXITEM_EmbeddedFilesLabel22Identifies the Embedded Files label.
TXITEM_EmbeddedFilesSeparator23Identifies the Embedded Files separator.
TXITEM_EmbeddedFilesSubpanel24Identifies the panel that includes the controls TXITEM_EmbeddedFilesListView, TXITEM_AddEmbeddedFile, TXITEM_SaveEmbeddedFile, TXITEM_RemoveEmbeddedFile and TXITEM_EditEmbeddedFile.
TXITEM_AddEmbeddedFile26Identifies the Add Embedded File button.
TXITEM_SaveEmbeddedFile27Identifies the Save Embedded File button.
TXITEM_RemoveEmbeddedFile28Identifies the Remove Embedded File button.
TXITEM_EditEmbeddedFile29Identifies the Edit Embedded File button.
TXITEM_DialogTabControl30Identifies the tab control that is displayed when applying the dialog sidebar layout.
TXITEM_DocumentInfoTabPage31Identifies the Document Info tab page that is displayed when applying the dialog sidebar layout.
TXITEM_CustomPropertiesTabPage32Identifies the Custom Properties tab page that is displayed when applying the dialog sidebar layout.
TXITEM_EmbeddedFilesTabPage33Identifies the Embedded Files tab page that is displayed when applying the dialog sidebar layout.
TXITEM_CustomPropertiesListView16Not described in the reference.
TXITEM_EmbeddedFilesListView25Not described in the reference.

Examples

The following example selects the TXITEM_Title Label value from the Document Settings Item enumeration and uses it as a documented workflow choice.

TXTextControl.WPF.Sidebar.DocumentSettingsItem value = TXTextControl.WPF.Sidebar.DocumentSettingsItem.TXITEM_TitleLabel;
Console.WriteLine($"Using Document Settings Item: {value}");