Name

DataGridCell

Synopsis

This value type represents a particular RowNumber and ColumnNumber in a data grid.


public struct DataGridCell {

// Public Constructors

   public DataGridCell(int r, int c);

// Public Instance Properties

   public int ColumnNumber{set; get; }

   public int RowNumber{set; get; }

// Public Instance Methods

   public override bool Equals(object o);  // overrides ValueType

   public override int GetHashCode();  // overrides ValueType

   public override string ToString();  // overrides ValueType

}

Hierarchy

System.Object System.ValueType DataGridCell

Returned By

DataGrid.CurrentCell

Passed To

DataGrid.{CurrentCell, GetCellBounds(), this, this}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.