Back to Devexpress

SimpleButton.AutoSize Property

windowsforms-devexpress-dot-xtraeditors-dot-simplebutton-c03e890e.md

latest1.4 KB
Original Source

SimpleButton.AutoSize Property

Gets or sets whether the control’s size is automatically calculated based on its contents.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if the control’s size is automatically calculated; otherwise, false.

|

See Also

SimpleButton Class

SimpleButton Members

DevExpress.XtraEditors Namespace