I'm trying to figure out how to create a user control that would act as a modal group of togglebuttons. I don't want to go the radio button route because the user has to be able to deselect everything. I also need the list to support vertical and horizontal presentation.
I'd like to have a control that looks like this in XAML.
<MyControl>
<Grid>
<Grid.ColumnDefinitions>...</Grid.ColumnDefinitions>
<ToggleButton />
<ToggleButton />
<ToggleButton />
...
<ToggleButton />
</Grid>
</MyControl>
I think grid may not be the correct layout option here since I don't know how many buttons I'll have.