public static void UpdateBackgroundColor(this Rectangle nativeControl, Color backgroundColor)
 {
     nativeControl.Fill = backgroundColor.ToBrush();
 }
示例#2
0
 public static void UpdateBorderColor(this Border nativeControl, Xamarin.Forms.Color backgroundColor)
 {
     nativeControl.Background = backgroundColor.ToBrush();
 }