TX Text Control .NET for Windows Forms

Content Property

Property|Introduced in 26.0
Namespace
TXTextControl.Windows.Forms
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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();

Limitations

The content can only be set if the ContentLayout is defined as SidebarContentLayout.Custom.