public virtual void RenderBorder(RenderContext context)
{
Debug.Assert(context != null);
// Do we need to draw the border?
if (_paletteBorder.GetBorderDraw(State) == InheritBool.True)
{
// Render the border over the background and children
if (DrawTabBorder)
context.Renderer.RenderTabBorder.DrawTabBorder(context, ClientRectangle, _paletteBorder, _orientation, State, TabBorderStyle);
else
context.Renderer.RenderStandardBorder.DrawBorder(context, ClientRectangle, _paletteBorder, _orientation, State);
}
}