SplitContainer.IsSplitterFixed Property

Definition

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

public:
 property bool IsSplitterFixed { bool get(); void set(bool value); };
public bool IsSplitterFixed { get; set; }
member this.IsSplitterFixed : bool with get, set
Public Property IsSplitterFixed As Boolean

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