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