Hi am getting error when creating custom renderer . Please help.
public class ExtendedButton : Button
{
public static BindableProperty HorizontalTextAlignmentProperty = BindableProperty.Create<ExtendedButton, Xamarin.Forms.TextAlignment>(x => x.HorizontalTextAlignment, Xamarin.Forms.TextAlignment.Start);
public Xamarin.Forms.TextAlignment HorizontalTextAlignment
{
get
{
return (Xamarin.Forms.TextAlignment)GetValue(HorizontalTextAlignmentProperty);
}
set
{
SetValue(HorizontalTextAlignmentProperty, value);
}
}
}