public override void Layout(ViewLayoutContext context) { Debug.Assert(context != null); // Start with all the provided space ClientRectangle = context.DisplayRectangle; }