Back to Devexpress

SplitContainerControl.Panel2 Property

windowsforms-devexpress-dot-xtraeditors-dot-splitcontainercontrol-dot-panel2.md

latest3.3 KB
Original Source

SplitContainerControl.Panel2 Property

Gets the right (or bottom) panel.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DXCategory("Layout")]
public SplitGroupPanel Panel2 { get; }
vb
<DXCategory("Layout")>
Public ReadOnly Property Panel2 As SplitGroupPanel

Property Value

TypeDescription
DevExpress.XtraEditors.SplitGroupPanel

A DevExpress.XtraEditors.SplitGroupPanel object which represents the right (or bottom) panel.

|

Remarks

If the split container’s SplitContainerControl.Horizontal property is set to true , the Panel2 property’s value represents the right panel.

If the SplitContainerControl.Horizontal property is set to false , the Panel2 property provides access to the bottom panel’s settings.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Panel2 property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-pivot-display-the-customization-form-near-the-pivotgrid/CS/StandaloneCustForm/Form1.cs#L21

csharp
// Set the control that owns the Customization Form.
e.ParentControl = splitContainerControl1.Panel2;

winforms-pivot-display-the-customization-form-near-the-pivotgrid/VB/StandaloneCustForm/Form1.vb#L23

vb
' Set the control that owns the Customization Form.
e.ParentControl = splitContainerControl1.Panel2

See Also

Panel1

SplitContainerControl Class

SplitContainerControl Members

DevExpress.XtraEditors Namespace