top button
Flag Notify
Site Registration

How to adjust the corner radius Windows phone button?

+1 vote

Explain problematically.

posted Dec 16, 2014 by Saravanan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
Best answer

Windows phone default having Ui like Metro type.There is no property to set corner radius for Windows phone buttons. But our requirement is to create a button with curve that we can do like this by overriding control template of button.

 <Button  HorizontalAlignment="Left" Margin="47,636,0,0" Name="SignUpButton" 
     VerticalAlignment="Top"   FontSize="18" Background="#6BA92A" Click="SignUpButton_Click">
            <Border BorderBrush="#6BA92A" Background="#6BA92A" CornerRadius="20,20,20,20" BorderThickness="2">
                <Button   Content="Sign up "
                          Background="{TemplateBinding Background}"
                          FontSize="{TemplateBinding FontSize}"
answer Dec 18, 2014 by Jdk
Similar Questions
+2 votes

I am developing windows phone application i had a doubt regarding wp and emulator during runtime in the display rightside corner sequence of number is displaying what is that use or how to hide ???

+2 votes

so as of now when a back (hardware) button is clicked it closes the app. How can I work around this so it goes to the previous webpage or goes back to the index or something on those lines?