I'm trying to create a button that has an image in it and no border - just like the Firefox toolbar buttons before you hover over them and see the full button.
I've tried setting the BorderBrush
to Transparent
, BorderThickness
to 0
, and also tried BorderBrush="{x:Null}"
, but you can still see the outline of the button.
Try this
<Button BorderThickness="0"
Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" >...