How can i create ToggleButton with image and text?
I want to create ToggleButton that contain image on the center and text on the button.
I try to do it by define new usercontrol - 开发者_如何学Gobut its not good way.
How can i do it on silverlight ?
Try the following:
<ToggleButton>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<Image Source="..."/>
<TextBlock Text="Click me"/>
</StackPanel>
</ToggleButton>
精彩评论