Skip to main content

EnumItemsSourceBehavior.UseNumericEnumValue Property

Gets or sets whether an enumeration element can be identified by a numeric value. This is a dependency property.

Namespace: DevExpress.Mvvm.UI

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool UseNumericEnumValue { get; set; }

Property Value

Type Default Description
Boolean false

true, if the enumeration element is identified by its numeric value; otherwise, false.

Remarks

Set this property to true to handle enumeration elements by index values instead of names.

See Also