public override void Layout(ViewLayoutContext context)
{
Debug.Assert(context != null);
// We take on all the available display area
ClientRectangle = context.DisplayRectangle;
// Cache the fill rectangle
_fillRect = ClientRectangle;
// Reduce the fill rectangle to account for the display padding
_fillRect = CommonHelper.ApplyPadding(Orientation.Horizontal, _fillRect, DisplayPadding);
// We let the OnLayout override for the control perform the
// actually positioning of the fill contents.
}