Back to Devexpress

DockPanel.Size Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-a45527cd.md

latest1.5 KB
Original Source

DockPanel.Size Property

Gets or sets the dock panel’s size.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Layout")]
public Size Size { get; set; }
vb
<DXCategory("Layout")>
Public Property Size As Size

Property Value

TypeDescription
Size

A System.Drawing.Size structure that specifies the dock panel’s height and width.

|

Remarks

You can set panel sizes only after panels are fully initialized. Modify the DockPanel.Size property on the Load event, or any other event that occurs later in time (for example, Form.Shown).

See Also

Bounds

Location

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace