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

ChoiceActionBase.EmptyItemsBehavior Property

Specifies how to display a Choice Action if its ChoiceActionBase.Items collection is empty.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

[DefaultValue(EmptyItemsBehavior.Deactivate)]
public EmptyItemsBehavior EmptyItemsBehavior { get; set; }

Property Value

Type Default Description
EmptyItemsBehavior **Deactivate**

A EmptyItemsBehavior enumeration value identifying the Choice Action behavior.

Available values:

Name Description
None

A Choice Action’s control is displayed with an empty drop-down list if the ChoiceActionBase.Items collection is empty.

Disable

A Choice Action’s control is disabled if the ChoiceActionBase.Items collection is empty.

Deactivate

A Choice Action’s control is invisible if the ChoiceActionBase.Items collection is empty.

Remarks

The following values are available:

  • None

    The Action’s control is displayed with an empty drop-down list.

  • Disable

    The Action is disabled.

  • Deativate

    The Action is deactivated. So, it will not be visible at all.

By default, the Diactivate value is set.

See Also