public override Size GetPreferredSize(ViewLayoutContext context)
{
Debug.Assert(context != null);
// Ask the renderer for the required size of the check box
return context.Renderer.RenderGlyph.GetCheckBoxPreferredSize(context, _palette,
Enabled, _checkState,
Tracking, _pressed);
}