Exemple #1
0
 public static void MapTrackColor(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateTrackColor(view, DefaultOnTrackColor, DefaultOffTrackColor);
 }
Exemple #2
0
 public static void MapThumbColor(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateThumbColor(view, DefaultThumbColor);
 }
Exemple #3
0
 public static void MapTrackColor(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateTrackColor(view, DefaultTrackColorStateList);
 }
Exemple #4
0
 public static void MapIsToggled(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateIsToggled(view);
 }
Exemple #5
0
 public static void MapThumbColor(SwitchHandler handler, ISwitch view)
 {
 }
Exemple #6
0
 public static void MapIsOn(SwitchHandler handler, ISwitch view)
 {
 }
 public static void MapIsToggled(SwitchHandler handler, ISwitch view)
 {
 }
Exemple #8
0
 public static void MapThumbColor(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateThumbColor(view, handler._originalResources);
 }
Exemple #9
0
 public static void MapTrackColor(SwitchHandler handler, ISwitch view)
 {
     handler.PlatformView?.UpdateTrackColor(view, handler._originalResources);
 }
Exemple #10
0
 public static void MapIsOn(SwitchHandler handler, ISwitch view)
 {
     handler.PlatformView?.UpdateIsToggled(view);
 }
 public static void MapThumbColor(SwitchHandler handler, ISwitch view)
 {
     handler.PlatformView?.UpdateThumbColor(view, handler._defaultThumbDrawable);
 }