public static DrawArea ( KryptonRibbon ribbon, |
||
ribbon | KryptonRibbon | Reference to owning ribbon control. |
context | Rendering context. | |
clientRect | Client rectangle of the source view. | |
state | PaletteState | State of element. |
return | void |
/// <summary> /// Perform rendering before child elements are rendered. /// </summary> /// <param name="context">Rendering context.</param> public override void RenderBefore(RenderContext context) { // Ensure the child text view has same state as us this[0].ElementState = ElementState; // Draw background using the design time colors DesignTimeDraw.DrawArea(_ribbon, context, ClientRectangle, State); base.RenderBefore(context); }