SplitContainer.IsSplitterFixed Property

Definition

Gets or sets a value indicating whether the splitter is fixed or movable.

C#
public bool IsSplitterFixed { get; set; }

Property Value

true if the splitter is fixed; otherwise, false. The default is false.

Remarks

Use the IsSplitterFixed property to enable or disable splitter movement. For example, you might programmatically set IsSplitterFixed to true when refreshing the display, when some other control has the focus, or when an event is occurring for which the display areas divided by the SplitContainer must remain constant, and set IsSplitterFixed to false when those circumstances do not apply.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9