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

TileBarDropDownOptions.AutoHeight Property

Gets or sets whether automatic height/width calculation is enabled for dropdown windows.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AutoHeight { get; set; }

Property Value

Type Default Description
DefaultBoolean **Default**

A value that specifies if automatic height/width calculation is enabled for dropdown windows.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoHeight
TileBar
.DropDownOptions.AutoHeight
TileBarItem
.DropDownOptions.AutoHeight

Remarks

If the AutoHeight property is set to Default or False and the TileBarDropDownOptions.Height property is 0, the dropdown window size (the height in the horizontal orientation; the width in the vertical orientation) matches the size of the TileBar control. When required, you can specify a custom height in the horizontal orientation and a custom width in the vertical orientation for the dropdown window with the TileBarDropDownOptions.Height property.

If the AutoHeight property is set to True, the height/width of the dropdown window is adjusted to fit the height/width of the TileBarDropDownContainer assigned to the TileBarItem.DropDownControl property. In this case, the TileBarDropDownOptions.Height property is ignored.

See Also