EnumItemsSourceBehavior Class
Allows you to bind an enumeration to the ItemsSource property of any control.
Namespace: DevExpress.Mvvm.UI
Assembly: DevExpress.Xpf.Core.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core
Declaration
[TargetType(typeof(ListBoxEdit))]
[TargetType(typeof(ItemsControl))]
[TargetType(typeof(LookUpEditBase))]
public class EnumItemsSourceBehavior :
Behavior<FrameworkElement>
Remarks
Refer to the EnumItemsSourceBehavior topic for more information.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the EnumItemsSourceBehavior class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.