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