DataGridColumnStyle.GetColumnValueAtRow(CurrencyManager, Int32) Method

Definition

Gets the value in the specified row from the specified CurrencyManager.

C#
protected internal virtual object GetColumnValueAtRow(System.Windows.Forms.CurrencyManager source, int rowNum);

Parameters

source
CurrencyManager

The CurrencyManager containing the data.

rowNum
Int32

The row number containing the data.

Returns

An Object containing the value.

Exceptions

The DataColumn for this DataGridColumnStyle hasn't been set yet.

Remarks

If the data source for the column is a DataTable, use the ColumnChanging or RowChanging events to determine when a row or column value has changed.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 10

See also