SimpleButton.AutoSize Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.1.dll

Declaration

[Browsable(true)]
[DefaultValue(false)]
[DXCategory("Properties")]
[EditorBrowsable(EditorBrowsableState.Always)]
public override bool AutoSize { get; set; }

Property Value

Type Default Description
Boolean

false

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

See Also