I have a dynamically generated menu that renders a list of re-styled radio buttons. Each menu item object (called SideMenuItem) has a collection of screen names. This collection tells the radiobutton whether or not it should be checked, depending on the
currently active screen.
So what I need is a property similar to this:
public bool IsMenuItemActive(SideMenuItem smi)
However, that is not valid. You can't have arguments for a Parameter (or at least I don't know how). I need each bound menu item to bind the IsChecked property to a method similar to this, but I need to know which SideMenuItem is calling the parameter. I
hope this is clear enough. Any ideas how to achieve this?