/// <summary> /// Raises the paint event. /// </summary> public void OnPaint(Drawable widget, PaintEventArgs e) { widget.Platform.Invoke(() => widget.OnPaint(e)); }
/// <summary> /// Raises the paint event. /// </summary> public void OnPaint(Drawable widget, PaintEventArgs e) { widget.Platform.Invoke(() => widget.OnPaint(e)); }
/// <summary> /// Raises the paint event. /// </summary> public void OnPaint(Drawable widget, PaintEventArgs e) { using (widget.Platform.Context) widget.OnPaint(e); }