SidebarContentLayout Enumeration
- Namespace
TXTextControl.Windows. Forms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
Specifies the requested layout that has to be intialized and rendered as sidebar content.
Syntax
public enum Sidebar.SidebarContentLayoutPublic Enum Sidebar.SidebarContentLayoutMembers
| Member | Value | Description |
|---|---|---|
| None | 0 | No content is diplayed or can be set. |
| Custom | 1 | A custom control can be used as content. |
| FieldNavigator | 3 | The content represents a panel to navigate through the merge fields of a document. |
| Find | 6 | The content represents a find in text interface. |
| Goto | 2 | The content represents a go to interface. |
| Replace | 7 | The content represents a find and replace in text interface. |
| Styles | 5 | The content represents an overview of all available styles of the document. |
| TrackedChanges | 4 | The content represents a panel that shows all tracked changes of a document. |
| ConditionalInstructions | 8 | The content represents a panel to manage the conditional instructions of a document. |
| DocumentSettings | 9 | The content represents a panel to manage the settings of a document. |
| Comments | 10 | The content represents a panel that shows all comments of a document. |
| About | 11 | The content represents a TextControl that can be used as an 'About' panel. |
Examples
The following example selects the Custom value from the Sidebar Content Layout enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Sidebar.SidebarContentLayout value = TXTextControl.Windows.Forms.Sidebar.SidebarContentLayout.Custom;
Console.WriteLine($"Using Sidebar Content Layout: {value}");Dim value As TXTextControl.Windows.Forms.Sidebar.SidebarContentLayout = TXTextControl.Windows.Forms.Sidebar.SidebarContentLayout.Custom
Console.WriteLine($"Using Sidebar Content Layout: {value}")