Enum Property binding to RadCombobox

2 posts, 0 answers
  1. Dharmavaram
    Dharmavaram avatar
    98 posts
    Member since:
    Jun 2013

    Posted 18 May Link to this post

    Hi 

    I am binding RadCombobox ItemSource with  IEnumerable<Telerik.Windows.Data.EnumMemberViewModel> type enum Values and SelectedItem with one of the viewModel property of type enum but it is not working.

     

    How to bind Radcombobox with Enum Values and property of type Enum as selectedItem.

     

    Regards,

    Nagasree

     

  2. Dinko
    Admin
    Dinko avatar
    415 posts

    Posted 23 May Link to this post

    Hi Dharmavaram,

    Thank you for contacting us.

    You can take a look at the EnumDataSource help article in our documentation which describes how you can bind the RadComboBox or a GridViewComboBoxColumn to an Enum. There is also a demo available in our WPF Controls Demo Application in the RadGridView section named EnumDataSource.

    Regards,
    Dinko
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top