DataGridCellInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DataGridCellInfo structure.
Overloads
DataGridCellInfo(DataGridCell) |
Initializes a new instance of the DataGridCellInfo structure for the specified cell. |
DataGridCellInfo(Object, DataGridColumn) |
Initializes a new instance of the DataGridCellInfo structure using the specified data item and column. |
DataGridCellInfo(DataGridCell)
Initializes a new instance of the DataGridCellInfo structure for the specified cell.
public:
DataGridCellInfo(System::Windows::Controls::DataGridCell ^ cell);
public DataGridCellInfo (System.Windows.Controls.DataGridCell cell);
new System.Windows.Controls.DataGridCellInfo : System.Windows.Controls.DataGridCell -> System.Windows.Controls.DataGridCellInfo
Public Sub New (cell As DataGridCell)
Parameters
- cell
- DataGridCell
The cell for which information is to be generated.
Remarks
This constructor associates the DataGridCellInfo with the specific DataGrid instance that owns the cell container.
Applies to
DataGridCellInfo(Object, DataGridColumn)
Initializes a new instance of the DataGridCellInfo structure using the specified data item and column.
public:
DataGridCellInfo(System::Object ^ item, System::Windows::Controls::DataGridColumn ^ column);
public DataGridCellInfo (object item, System.Windows.Controls.DataGridColumn column);
new System.Windows.Controls.DataGridCellInfo : obj * System.Windows.Controls.DataGridColumn -> System.Windows.Controls.DataGridCellInfo
Public Sub New (item As Object, column As DataGridColumn)
Parameters
- item
- Object
The data item for the row that contains the cell.
- column
- DataGridColumn
The column that contains the cell.
Remarks
This constructor does not associate the DataGridCellInfo with a specific DataGrid instance.
Applies to
.NET