示例#1
0
 /// <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);
     }
 }
示例#2
0
 /// <summary>
 /// Raises the paint event.
 /// </summary>
 public void OnPaint(DrawableCell widget, DrawableCellPaintEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnPaint(e));
 }
示例#3
0
 protected virtual void OnPaint(DrawableCellPaintEventArgs e)
 {
     OnPaint((CellPaintEventArgs)e);
 }
示例#4
0
 /// <summary>
 /// Raises the paint event.
 /// </summary>
 public void OnPaint(DrawableCell widget, DrawableCellPaintEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnPaint(e);
 }
示例#5
0
			/// <summary>
			/// Raises the paint event.
			/// </summary>
			public void OnPaint(DrawableCell widget, DrawableCellPaintEventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnPaint(e));
			}
示例#6
0
		/// <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);
		}
示例#7
0
		protected virtual void OnPaint(DrawableCellPaintEventArgs e)
		{
			OnPaint((CellPaintEventArgs)e);
		}