Back to Devexpress

TileBarItem.ShowDropDownButton Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-tilebaritem-64aa107d.md

latest2.8 KB
Original Source

TileBarItem.ShowDropDownButton Property

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

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean ShowDropDownButton { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Appearance")>
Public Property ShowDropDownButton As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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:

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

DropDownControl

DropDownShowing

TileBarItem Class

TileBarItem Members

DevExpress.XtraBars.Navigation Namespace