Skip to main content

TileBarDropDownOptions.AutoHeight Property

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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