TX Text Control .NET for Windows Forms

IsSizable 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 a value indicating whether the Sidebar can be sized with the mouse. The default value is true.

Syntax

public bool IsSizable { get; set; }

Examples

The following example uses Sidebar.IsSizable to configure is sizable as part of the sidebar workflow. The change is then applied to the active document or user interface.

sidebar.IsSizable = true;
sidebar.Update();

Limitations

A sidebar can only be sized if the Sidebar.AutoSize property is set to false and the Sidebar.Dock property is not set to System.Windows.Forms.DockStyle.Fill.