corelibraries-devexpress-dot-export-dot-customizecelleventargs.md
Specifies the value of the cell currently being processed.
Namespace : DevExpress.Export
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public object Value { get; set; }
Public Property Value As Object
| Type | Description |
|---|---|
| Object |
An object which represents the processed cell’s value.
|
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.
winforms-grid-customize-data-aware-export-output/CS/GridDataAwareExportCustomization/Form1.cs#L78
if(e.ColumnFieldName == "Discontinued") {
if(e.Value is bool) {
e.Handled = true;
asp-net-mvc-grid-export-colored-grid-in-data-aware-mode/CS/Controllers/HomeController.cs#L30
if(ea.AreaType != DevExpress.Export.SheetAreaType.Header && ea.ColumnFieldName == "UnitPrice") {
if(Convert.ToDecimal(ea.Value) > 15)
ea.Formatting.BackColor = System.Drawing.Color.Yellow;
winforms-grid-customize-data-aware-export-output/VB/GridDataAwareExportCustomization/Form1.vb#L78
If e.ColumnFieldName = "Discontinued" Then
If TypeOf e.Value Is Boolean Then
e.Handled = True
asp-net-mvc-grid-export-colored-grid-in-data-aware-mode/VB/Controllers/HomeController.vb#L31
If ea.ColumnFieldName = "UnitPrice" Then
If Convert.ToInt32(ea.Value) > 15 Then
ea.Formatting.BackColor = System.Drawing.Color.Yellow
See Also