Reputation: 2571
Does anybody knows how to make a button look like an ApplicationBarIconButton
?
I want to place the button in a stackpanel on a page, not in an ApplicationBar.
The button must have the same effects, and must have a round circle around the icon image.
Upvotes: 1
Views: 428
Reputation: 1959
The Coding4Fun Toolkit has a RoundButton component I've used many times for this purpose. Just specify the image, and it'll draw the border and adjust for the phone's theme just like the application bar.
Upvotes: 0
Reputation: 5104
You may use http://www.syncfusion.com/downloads/metrostudio which allows you to create custom icons. I found them very useful. I hope it helps you too
Upvotes: 0
Reputation: 5557
Try something like this
<Border CornerRadius="50" BorderThickness="4" Height="68" Width="68" BorderBrush="White">
<Button Content="A" BorderThickness="0" Height="68" Width="68" Margin="-9,-4,-8,5" FontSize="36" Foreground="White"/>
</Border>
Upvotes: 1
Reputation: 9240
You can draw your own button template in Expression Blend (it's free for WP7 developers)
Use a "{StaticResource PhoneContrastBackgroundColor}"
as a color for your button.
Upvotes: 0