DocumentSettingsItem Enumeration
- 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
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.DocumentSettingsItemPublic Enum Sidebar.DocumentSettingsItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_TitleLabel | 0 | Identifies the Titel label. |
| TXITEM_TitleTextBox | 1 | Identifies the Titel text box. |
| TXITEM_AuthorLabel | 2 | Identifies the Author label. |
| TXITEM_AuthorTextBox | 3 | Identifies the Author text box. |
| TXITEM_CreatedLabel | 4 | Identifies the Created label. |
| TXITEM_DateLabel | 5 | Identifies the Created Date label. |
| TXITEM_SubjectLabel | 6 | Identifies the Subject label. |
| TXITEM_SubjectTextBox | 7 | Identifies the Subject text box. |
| TXITEM_TagsLabel | 8 | Identifies the Tags label. |
| TXITEM_TagsTextBox | 9 | Identifies the Tags text box. |
| TXITEM_FirstVerticalSeparator | 10 | Identifies the first vertical separator that is displayed when applying the horizontal sidebar layout. |
| TXITEM_CustomPropertiesPanel | 11 | Identifies the panel that includes all Custom Properies related controls. |
| TXITEM_CustomPropertiesToggleItem | 12 | Identifies the Custom Properties +/- toggle item. |
| TXITEM_CustomPropertiesLabel | 13 | Identifies the Custom Properties label. |
| TXITEM_CustomPropertiesSeparator | 14 | Identifies the Custom Properties separator. |
| TXITEM_CustomPropertiesSubpanel | 15 | Identifies the panel that includes the controls TXITEM_CustomPropertiesListView, TXITEM_AddCustomProperty and TXITEM_DeleteCustomProperty. |
| TXITEM_AddCustomProperty | 17 | Identifies the Add Custom Property button. |
| TXITEM_DeleteCustomProperty | 18 | Identifies the Delete Custom Property button. |
| TXITEM_SecondVerticalSeparator | 19 | Identifies the second vertical separator that is displayed when applying the horizontal sidebar layout. |
| TXITEM_EmbeddedFilesPanel | 20 | Identifies the panel that includes all Embedded Files related controls. |
| TXITEM_EmbeddedFilesToggleItem | 21 | Identifies the Embedded Files +/- toggle item. |
| TXITEM_EmbeddedFilesLabel | 22 | Identifies the Embedded Files label. |
| TXITEM_EmbeddedFilesSeparator | 23 | Identifies the Embedded Files separator. |
| TXITEM_EmbeddedFilesSubpanel | 24 | Identifies the panel that includes the controls TXITEM_EmbeddedFilesListView, TXITEM_AddEmbeddedFile, TXITEM_SaveEmbeddedFile, TXITEM_RemoveEmbeddedFile and TXITEM_EditEmbeddedFile. |
| TXITEM_AddEmbeddedFile | 26 | Identifies the Add Embedded File button. |
| TXITEM_SaveEmbeddedFile | 27 | Identifies the Save Embedded File button. |
| TXITEM_RemoveEmbeddedFile | 28 | Identifies the Remove Embedded File button. |
| TXITEM_EditEmbeddedFile | 29 | Identifies the Edit Embedded File button. |
| TXITEM_DialogTabControl | 30 | Identifies the tab control that is displayed when applying the dialog sidebar layout. |
| TXITEM_DocumentInfoTabPage | 31 | Identifies the Document Info tab page that is displayed when applying the dialog sidebar layout. |
| TXITEM_CustomPropertiesTabPage | 32 | Identifies the Custom Properties tab page that is displayed when applying the dialog sidebar layout. |
| TXITEM_EmbeddedFilesTabPage | 33 | Identifies the Embedded Files tab page that is displayed when applying the dialog sidebar layout. |
| TXITEM_CustomPropertiesListView | 16 | Not described in the reference. |
| TXITEM_EmbeddedFilesListView | 25 | Not 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}");Dim value As TXTextControl.WPF.Sidebar.DocumentSettingsItem = TXTextControl.WPF.Sidebar.DocumentSettingsItem.TXITEM_TitleLabel
Console.WriteLine($"Using Document Settings Item: {value}")