Content Property
- Namespace
TXTextControl.Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets an object of type System.Windows.Forms.Control that represents the content of the Sidebar.
Syntax
public Control Content { get; set; }Public Property Content As ControlExamples
The following example uses Sidebar.Content to configure content as part of the sidebar workflow. The change is then applied to the active document or user interface.
sidebar.Content = new System.Windows.Forms.Control();
sidebar.Update();sidebar.Content = New System.Windows.Forms.Control()
sidebar.Update()Limitations
The content can only be set if the ContentLayout is defined as SidebarContentLayout.Custom.