/// <summary> /// Raises the PaintHeader event /// </summary> /// <param name="e">A PaintHeaderEventArgs that contains the event data</param> public virtual void OnPaintHeader(PaintHeaderEventArgs e) { // paint the Column header's background this.OnPaintBackground(e); // paint the Column headers foreground this.OnPaint(e); }
/// <summary> /// Raises the Paint event /// </summary> /// <param name="e">A PaintHeaderEventArgs that contains the event data</param> protected virtual void OnPaint(PaintHeaderEventArgs e) { }
/// <summary> /// Raises the PaintBackground event /// </summary> /// <param name="e">A PaintHeaderEventArgs that contains the event data</param> protected virtual void OnPaintBackground(PaintHeaderEventArgs e) { }