GridColumnDataEventArgs.IsSetData Property
Indicates that you should save the current value of the unbound column’s cell to a data source in the event handler.
Namespace: DevExpress.XamarinForms.DataGrid
Assembly: DevExpress.XamarinForms.Grid.dll
NuGet Package: DevExpress.XamarinForms.Grid
Declaration
public bool IsSetData { get; }
Property Value
Type | Description |
---|---|
Boolean | true, if the event occurs to save a value from the unbound column’s cell to a data source; otherwise, false. |
Remarks
If the IsSetData property is set to true (and consequently IsGetData is set to false), the Value parameter identifies a cell value that a user modified in the unbound column. You can save it to your data source in the event handler.
If the IsSetData property returns false (and consequently IsGetData is set to true), supply data for the current cell of the unbound column in the event handler. To do this, assign a required value (for example, it can be calculated based on values of other columns in the current row) to the event’s Value parameter. To identify the currently processed row and unbound column, use the RowHandle and Column properties.