/// <summary> /// Raises the <see cref="Paint"/> event. /// </summary> /// <param name="e">Event arguments.</param> protected virtual void OnPaint(DrawableCellPaintEventArgs e) { if (Paint != null) { Paint(this, e); } }
/// <summary> /// Raises the paint event. /// </summary> public void OnPaint(DrawableCell widget, DrawableCellPaintEventArgs e) { widget.Platform.Invoke(() => widget.OnPaint(e)); }
protected virtual void OnPaint(DrawableCellPaintEventArgs e) { OnPaint((CellPaintEventArgs)e); }
/// <summary> /// Raises the paint event. /// </summary> public void OnPaint(DrawableCell widget, DrawableCellPaintEventArgs e) { using (widget.Platform.Context) widget.OnPaint(e); }
/// <summary> /// Raises the <see cref="Paint"/> event. /// </summary> /// <param name="e">Event arguments.</param> protected virtual void OnPaint(DrawableCellPaintEventArgs e) { if (Paint != null) Paint(this, e); }