Skip to content

DevExpress-Examples/wpf-mvvm-behaviors-enumitemssourcebehavior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF MVVM Framework - Bind a Control to an Enumeration with EnumItemsSourceBehavior

This example uses the EnumItemsSourceBehavior to bind the ComboBoxEdit to the UserRole enumeration:

image

You can use this behavior with the following controls:

You can also apply attributes from the System.ComponentModel.DataAnnotations and DevExpress.Mvvm.DataAnnotations namespaces to enumeration members.

Files to Look At

Documentation

Does This Example Address Your Development Requirements/Objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Use the EnumItemsSourceBehavior to bind a control to an enumeration.

Topics

Resources

License

Stars

Watchers

Forks

Contributors