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