public static void MapOpacity(ILabelHandler handler, ILabel label) { handler.UpdateValue(nameof(IViewHandler.ContainerView)); handler.PlatformView.UpdateOpacity(label); handler.ToPlatform().UpdateOpacity(label); }
public static void MapBackground(ILabelHandler handler, ILabel label) { handler.UpdateValue(nameof(handler.ContainerView)); handler.ToPlatform()?.UpdateBackground(label); }
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);