views:

81

answers:

1

Is there any way to force a radio button or check box to show properly in a toolbar? The circle/check box always disappears once its placed inside a toolbar.

+2  A: 

By default, WPF overrides RadioButtons to make them look like toggle buttons. To eliminate this, place a panel inside the ToolBar and then put your RadioButton(s) in there.

<ToolBar>
   <StackPanel>
      <RadioButton Content="Radio Button" />
   </StackPanel>
</ToolBar>
bufferz