Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Eto.Forms.DrawableCellPaintEventArgs"/> class.
 /// </summary>
 /// <param name="graphics">Graphics context for drawing.</param>
 /// <param name="clipRectangle">Clip rectangle for the cell's region.</param>
 /// <param name="cellState">State of the cell.</param>
 /// <param name="item">Item from the data store for the row that is being painted.</param>
 public DrawableCellPaintEventArgs(Graphics graphics, RectangleF clipRectangle, DrawableCellStates cellState, object item)
     : base(graphics, clipRectangle)
 {
     CellState = cellState;
     Item      = item;
 }
Exemplo n.º 2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="Eto.Forms.DrawableCellPaintEventArgs"/> class.
		/// </summary>
		/// <param name="graphics">Graphics context for drawing.</param>
		/// <param name="clipRectangle">Clip rectangle for the cell's region.</param>
		/// <param name="cellState">State of the cell.</param>
		/// <param name="item">Item from the data store for the row that is being painted.</param>
		public DrawableCellPaintEventArgs(Graphics graphics, RectangleF clipRectangle, DrawableCellStates cellState, object item)
			: base(graphics, clipRectangle)
		{
			CellState = cellState;
			Item = item;
		}