I would like to style a regular CheckBox
so it looks like a CheckBox
inside a Toolbar
:
<StackPanel Orientation="Horizontal">
<CheckBox Style="{What to put here?}">
<Image Source="someImage.png" Stretch="None" />
</CheckBox>
</StackPanel>
Is there a way to obtain a reference to the Style
use by the ToolBar
and 'bind' to it?
EDIT: The reason for this is because I want a few simple buttons to control the Visibility
of some elements and I don't want to use a ToolBar
just for this.