public override RectangleF GetBackgroundContentRectangle(MeasureHelper measure, RectangleF backGroundArea) { backGroundArea = base.GetBackgroundContentRectangle(measure, backGroundArea); if (Application.RenderWithVisualStyles && VisualStyleRenderer.IsElementDefined(GetBackgroundElement())) { return(GetRenderer(GetBackgroundElement()).GetBackgroundContentRectangle(measure.Graphics, Rectangle.Round(backGroundArea))); } else { return(mStandardHeader.GetBackgroundContentRectangle(measure, backGroundArea)); } }
public override RectangleF GetBackgroundContentRectangle(MeasureHelper measure, RectangleF backGroundArea) { backGroundArea = base.GetBackgroundContentRectangle(measure, backGroundArea); return(mBackground.GetBackgroundContentRectangle(measure, backGroundArea)); }