public override Size GetPreferredSize(ViewLayoutContext context)
{
Debug.Assert(context != null);
// Ask the renderer for the required size of the drop down button
return context.Renderer.RenderGlyph.GetDropDownButtonPreferredSize(context, _palette, State, Orientation);
}