.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v20.2.dll

Declaration

[DefaultValue(EmptyItemsBehavior.Deactivate)]
public EmptyItemsBehavior EmptyItemsBehavior { get; set; }
<DefaultValue(EmptyItemsBehavior.Deactivate)>
Public Property EmptyItemsBehavior As EmptyItemsBehavior

Property Value

Type Description
EmptyItemsBehavior

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