RepositoryItemBaseProgressBar.AutoHeight Property

Gets or sets a value specifying whether the progress bar's height is changed according to the size of its contents.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(false)]
public override bool AutoHeight { get; set; }
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Overrides Property AutoHeight As Boolean

Property Value

Type Default Description
Boolean

false

true if the progress bar's height is automatically changed to fit the size of its contents; otherwise false.

Remarks

If the AutoHeight property is set to true, the progress bar's height depends on the border style. If it displays progress text, the progress bar's height is also affected by the font settings.

Changing the AutoHeight property's value at runtime raises the RepositoryItem.PropertiesChanged event.

NOTE

If auto-height is enabled, changing the progress bar's Height property will have no effect. Set the AutoHeight property to false to provide the progress bar's height manually.

See Also