Created
February 1, 2016 21:28
-
-
Save QiMata/16566ce42f146a249a22 to your computer and use it in GitHub Desktop.
The shared control for creating the rounded corners
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ContentViewRoundedCorners : ContentView | |
{ | |
public static readonly BindableProperty CornerRaidusProperty = | |
BindableProperty.Create<ContentViewRoundedCorners, float>(x => x.CornerRadius, 0); | |
public float CornerRadius | |
{ | |
get { return (float) GetValue(CornerRaidusProperty); } | |
set { SetValue(CornerRaidusProperty, value); } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment