public override void LayoutSubviews() { var switchSize = Switch.SizeThatFits(Frame.Size); Switch.Frame = new CoreGraphics.CGRect( x: Frame.Width - switchSize.Width - 16, y: (Frame.Height - switchSize.Height) / 2f, width: switchSize.Width, height: switchSize.Height); _label.Frame = new CoreGraphics.CGRect( x: 16, y: 0, width: Switch.Frame.X - 32, height: Frame.Height); }