Skip to main content
.NET 6.0+

ChoiceActionBase.EmptyItemsBehavior Property

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

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

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.

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