Skip to main content
A newer version of this page is available. .
Tab

ASPxGridColumnDataEventArgs.Value Property

Gets or sets the value of the cell currently being processed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public object Value { get; set; }

Property Value

Type Description
Object

An object that represents the currently processed cell’s value.

Remarks

If the ASPxGridColumnDataEventArgs.IsGetData property returns true (and consequently, the ASPxGridColumnDataEventArgs.IsSetData property returns false) the ASPxGridView.CustomUnboundColumnData event handler should provide data for the cell currently being processed. You need to obtain the data for this cell from a custom data source and assign it to the Value property.

The processed unbound column is identified by the ASPxGridViewColumnDataEventArgs.Column property. The ASPxGridColumnDataEventArgs.ListSourceRowIndex property can be used to identify the current row.

If the ASPxGridColumnDataEventArgs.IsGetData property returns false (and consequently, the ASPxGridColumnDataEventArgs.IsSetData property returns true) the ASPxGridView.CustomUnboundColumnData event handler should store the Value property’s value to the data source.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Value property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also