RoundButton
Over View
Basically RoundButton is an UI component that derives from Button and also exposes ImageSource dependency property.
Getting Started
To begin using RoundButton first add a reference to the
Coding4Fun.Phone.Controls.dll assembly.
To use the RoundButtonin the XAML you have to add the following namespace declaration:
xmlns:Controls="clr-namespace:Coding4Fun.Phone.Controls;assembly=Coding4Fun.Phone.Controls"
Creating a RoundButton :
XAML
<Controls:RoundButton ImagePath="/Media/icons/appbar.check.rest.png"/>
C#:
RoundButton button = new RoundButton();
button.ImagePath = new BitmapImage(new Uri("/Media/icons/appbar.check.rest.png", UriKind.RelativeOrAbsolute));