Skip to main content

TileBarItem.ShowDropDownButton Property

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: 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 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

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