'宣言 Public Event GetUnboundValue As UnboundValueEventHandler
public event UnboundValueEventHandler GetUnboundValue
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、UnboundValueEventArgs 型の引数を受け取りました。次の UnboundValueEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|---|
Col | Gets the column index for the cell that has an unbound value. |
Row | Gets the row index for the cell that has an unbound value. |
Value | Gets or sets the unbound value that should be displayed in the cell. |
解説
This event fires in bound mode when the grid contains unbound columns. Unbound columns are columns that have the Name property set to values that do not map to columns in the data source. The information in unbound columns must be provided by the application, by setting the Value property of the UnboundValueEventHandler parameter.
The System.Data.DataTable class supports calculated columns that in many situations can be used instead of unbound columns.
参照