locked
Create Multiple Specific Instances Of A UI Element using MVVM RRS feed

  • General discussion

  • Hey Guys,

    I need your help! I just don't have any problem for my follwing idea please excuse the lack of code!

    I want to Create multiple instances of a let's say Buttons in a Grid by using MVVM - I am still new to that model and learning a smuch as I can atm. When you click on one of them a menu opens that lets you select a certain object (e.g. subject German, Maths, English) and attach it to that object. My problem is that i don't know how to create these Buttons and bind only certain ones of them to the selected object. When I tried to program it yesterday all I got was that all of the Buttons suddenly set a binding to that object. Unfortunately I don't have that code anymore but that problem is still haunting me.

    Do you have an ideaa for me how to fix this in the future?

    Thank you very much!!

    Greetings, FunkyPeanut 

    Saturday, November 9, 2013 12:57 AM

All replies