Пример #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);
 }