Silverlight Button Style
3 answers
The binding will look like this:
<TextBlock Text="{TemplateBinding Content}"/>
The problem is when I am trying to set content to something other than text:
<Button>
<Button.Content>
<Rectangle Fill="#FFB51111"/>
</Button.Content>
</Button>
In this case, using ContentPresenter will work better. It uses the same anchor expression, but can display more text. But it all really depends on you.
+1
a source to share