public void PaintBorder(Rectangle drawRect)
 {
     StyleRenderer.PaintBorder(Graphics, drawRect, StyleSheet.GetRuleset(Control));
 }
        public void ClipToBorder(Rectangle clippingRect)
        {
            IRuleset ruleset = StyleSheet.GetRuleset(Control);

            StyleRenderer.ClipToBorder(Graphics, clippingRect, ruleset);
        }
 public void PaintText(Rectangle textRect, TextFormatFlags textFormatFlags = DefaultTextFormatFlags)
 {
     StyleRenderer.PaintText(Graphics, textRect, StyleSheet.GetRuleset(Control), Control.Text, Control.Font, textFormatFlags);
 }