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.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
[DefaultValue(EmptyItemsBehavior.Deactivate)]
public EmptyItemsBehavior EmptyItemsBehavior { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Empty |
Deactivate | A Empty |
Available values:
Name | Description |
---|---|
None | A Choice Action’s control is displayed with an empty drop-down list if the Choice |
Disable | A Choice Action’s control is disabled if the Choice |
Deactivate | A Choice Action’s control is invisible if the Choice |
#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.