TileList Data Binding - MVVM

2 posts, 0 answers
  1. Duncan
    Duncan avatar
    5 posts
    Member since:
    Sep 2013

    Posted 08 Oct 2013 Link to this post

    I am looking to set the ItemsSource of the TileList to an ObservableCollection of object. One property of this object will respresent a SizeMode which I would like to see setup as a Setter to set the TileType property. I have created an IValueConverter to convert this INT size property to the Telerik TileType enum, and setup a binding for this, however it is looking for this property on my window ViewModel, not a property of each bound item.

    In the online documentation this is achieved by implementing an AutoGeneratingTile event handler in the code behind.

    Could you please provide an example of how this is achieved.

    Thanks

    Duncan 

     
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 10 Oct 2013 Link to this post

    Hi Duncan,

    Generally, there should be no problems to bind the TileType property. Check out the project attached for a reference.  

    Regards,
    Maya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top