Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(false)]
public override bool AutoHeight { get; set; }

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