public override Size GetPreferredSize(ViewLayoutContext context)
{
// Grab the required size for the content images
return context.Renderer.RenderStandardContent.GetContentPreferredSize(context, _paletteContent,
this, VisualOrientation.Top,
State, false);
}