Skip to main content

EnumItemsSourceBehavior.SplitNames Property

Gets or sets whether an enumeration member’s name is split. This property is in effect if the member’s name is written in Pascal Case. This is a dependency property.

Namespace: DevExpress.Mvvm.UI

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool SplitNames { get; set; }

Property Value

Type Default Description
Boolean true

true, if an enumeration member’s name is split; otherwise, false.

Remarks

An enumeration member’s name can consist of multiple words written in Pascal Case. You can set the SplitNames to true to add space between these words.

For example, if an enumeration member’s name is SalesOrder and you set the SplitNames to true, an associated control displays this member name as Sales Order.

See Also