Beispiel #1
0
 public static void MapOpacity(ILabelHandler handler, ILabel label)
 {
     handler.UpdateValue(nameof(IViewHandler.ContainerView));
     handler.PlatformView.UpdateOpacity(label);
     handler.ToPlatform().UpdateOpacity(label);
 }
Beispiel #2
0
 public static void MapBackground(ILabelHandler handler, ILabel label)
 {
     handler.UpdateValue(nameof(handler.ContainerView));
     handler.ToPlatform()?.UpdateBackground(label);
 }
Beispiel #3
0
 public static void MapHeight(ILabelHandler handler, ILabel view) =>
 // VerticalAlignment only works when the container's Height is set and the child's Height is Auto. The child's Height
 // is set to Auto when the container is introduced
 handler.ToPlatform().UpdateHeight(view);