SplitContainer.IsSplitterFixed Property

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool IsSplitterFixed { get; set; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 2.0
Return to top
Show: