.NET Windows Forms in a Nutshell

DataGridCell

System. Windows .Forms (system. windows .forms.dll) struct

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}

Категории