Back to Devexpress

XtraPanel.AutoSize Property

windowsforms-devexpress-dot-xtraeditors-dot-xtrapanel.md

latest1.6 KB
Original Source

XtraPanel.AutoSize Property

Gets or sets whether the panel is automatically resized according to the value of the XtraPanel.AutoSizeMode property.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[Browsable(true)]
[DXCategory("Layout")]
[EditorBrowsable(EditorBrowsableState.Always)]
public override bool AutoSize { get; set; }
vb
<Browsable(True)>
<EditorBrowsable(EditorBrowsableState.Always)>
<DXCategory("Layout")>
Public Overrides Property AutoSize As Boolean

Property Value

TypeDescription
Boolean

true if the panel’s auto-resizing feature is enabled; otherwise, false.

|

Remarks

See the AutoSize Property Overview topic in MSDN to learn more.

See Also

AutoSizeMode

XtraPanel Class

XtraPanel Members

DevExpress.XtraEditors Namespace