Skip to main content

SplitContainerControl.FixedPanel Property

Gets or sets a panel that remains static when the split container size changes.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

[DefaultValue(SplitFixedPanel.Panel1)]
[DXCategory("Layout")]
public virtual SplitFixedPanel FixedPanel { get; set; }

Property Value

Type Default Description
SplitFixedPanel Panel1

A SplitFixedPanel enumeration value which specifies the fixed panel.

Available values:

Name Description
None

The panels’ widths (or heights) are proportionally changed when a split container is being resized.

Panel1

The width (height if the panels are displayed one above another) of the SplitContainerControl.Panel1 isn’t changed when the split container is resized.

Panel2

The width (height if the panels are displayed one above another) of the SplitContainerControl.Panel2 isn’t changed when the split container is resized.

Remarks

The following animations illustrate what happens to a horizontal Split Container Control when its panel is fixed.

The FixedPanel property is set to Panel1:

SplitContainerControl-FixedPanel1.gif

The FixedPanel property is set to Panel2:

SplitContainerControl-FixedPanel2.gif

The FixedPanel property is set to None:

SplitContainerControl-NoFixedPanel.gif

See Also