示例#1
0
 /// <summary>
 /// Raises the paint event.
 /// </summary>
 public void OnPaint(CustomCell widget, CellPaintEventArgs args)
 {
     using (widget.Platform.Context)
         widget.OnPaint(args);
 }
示例#2
0
 /// <summary>
 /// Raises the paint event.
 /// </summary>
 public void OnPaint(CustomCell widget, CellPaintEventArgs args)
 {
     widget.Platform.Invoke(() => widget.OnPaint(args));
 }