TX Text Control .NET for Windows Forms

SidebarContentLayout Enumeration

Enumeration|Introduced in 26.0
Namespace
TXTextControl.Windows.Forms
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.

Description

Specifies the requested layout that has to be intialized and rendered as sidebar content.

Syntax

public enum Sidebar.SidebarContentLayout

Members

MemberValueDescription
None0No content is diplayed or can be set.
Custom1A custom control can be used as content.
FieldNavigator3The content represents a panel to navigate through the merge fields of a document.
Find6The content represents a find in text interface.
Goto2The content represents a go to interface.
Replace7The content represents a find and replace in text interface.
Styles5The content represents an overview of all available styles of the document.
TrackedChanges4The content represents a panel that shows all tracked changes of a document.
ConditionalInstructions8The content represents a panel to manage the conditional instructions of a document.
DocumentSettings9The content represents a panel to manage the settings of a document.
Comments10The content represents a panel that shows all comments of a document.
About11The 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}");