FixedPanel Enumeration

 

Specifies that SplitContainer::Panel1, SplitContainer::Panel2, or neither panel is fixed.

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

public enum class FixedPanel

Member nameDescription
None

Specifies that neither SplitContainer::Panel1, SplitContainer::Panel2 is fixed. A Control::Resize event affects both panels.

Panel1

Specifies that SplitContainer::Panel1 is fixed. A Control::Resize event affects only SplitContainer::Panel2.

Panel2

Specifies that SplitContainer::Panel2 is fixed. A Control::Resize event affects only SplitContainer::Panel1.

Use a value of FixedPanel to specify which panel stays the same size and which panel increases in size when a user resizes the SplitContainer.

.NET Framework
Available since 2.0
Return to top
Show: