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; }
Public Property IsSizable() As Boolean

Examples

The following example shows the Sidebar class with its different properties.In order to prevent the sizing of the sidebar with the mouse, the IsSizable property has been set to false.

TXTextControl.Windows.Forms.Sidebar sidebar = new TXTextControl.Windows.Forms.Sidebar();
sidebar.ShowPinButton = false;
sidebar.IsPinned = true;
sidebar.IsShown = false;
sidebar.IsSizable = false; // here, the IsSizable property is set
Dim sidebar As TXTextControl.Windows.Forms.Sidebar = New TXTextControl.Windows.Forms.Sidebar()
sidebar.ShowPinButton = False
sidebar.IsPinned = True
sidebar.IsShown = false
sidebar.IsSizable = false ' here, the IsSizable property is set

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.