How to check/uncheck dynamically created toggle buttons


  • Hi,

    I am creating an application using Silverlight 4 implementing MVVM through Prism.

    I want to create the top menu bar dynamically (menu items being stored in db and rendered as per user permissions).

    I have used toggle buttons to create the menu bar. The toggle buttons would be created dynamically and placed with in a stackpanel and databound.

    Now what I want is, when one of the toggle button (menu item) is checked, all other toggle buttons (within the menu bar) should be unchecked.

    Can anyone suggest me how should I do it?

    Thanks in advance,


    Friday, April 08, 2011 12:47 AM


All replies