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

TileBarItem.ShowDropDownButton Property

Gets or sets whether the dropdown button is visible for the TileBarItem.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean ShowDropDownButton { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

The value that specifies if the dropdown button is visible for the TileBarItem.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

The following image shows a tile with the dropdown button visible:

TileBar-DropDownButton

If the ShowDropDownButton property is set to Default, the dropdown button is visible if a dropdown control is associated with the tile via the TileBarItem.DropDownControl property. If the ShowDropDownButton property is set to False, the dropdown button is always hidden, and it is not possible for an end-user to invoke the associated dropdown control.

If the ShowDropDownButton property equals true, the dropdown button is visible even if the dropdown control is not assigned to the tile. This setting is useful if you want to dynamically assign dropdown controls to tiles with the TileBar.DropDownShowing event.

See Also