TileBarDropDownOptions.AutoHeight Property

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AutoHeight { get; set; }
<DefaultValue(DefaultBoolean.Default)>
Public Property AutoHeight As DefaultBoolean

Property Value

Type Default Description
DefaultBoolean

Default

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

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