ChoiceActionBase.ShowItemsOnClick Property
Specifies whether to display the drop-down with the current Action’s items when the Action is clicked.
Namespace: DevExpress.ExpressApp.Actions
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | false |
|
Remarks
To specify the Choice Action Item executed by default when ShowItemsOnClick is false, use the ChoiceActionBase.DefaultItemMode property. You can set whether to always execute the first active item in the ChoiceActionBase.Items collection, or to execute the previously executed item.
The ShowItemsOnClick property’s false value affects how ChoiceActionBase Actions’ controls are rendered (for example, the NewObjectViewController.NewObjectAction‘s control):
As an Action’s default button, if the
SingleChoiceAction.Itemscollection (inherited from ChoiceActionBase.Items) contains one visible item.
As a drop-down control with a triangle glyph, if the collection includes more than one item.

If the ShowItemsOnClick property’s value is true, ChoiceActionBase Actions always have drop-down controls and you can execute the required action only from the drop-down.