ASPxCardView.ExportRenderBrick Event
Enables rendering of different content from the content exported by default.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.2.dll
Declaration
Event Data
The ExportRenderBrick event's data class is ASPxCardViewExportRenderingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
BrickStyle | Gets the style settings used to paint report bricks. |
Column | Gets a data column that corresponds to the processed grid element. |
ImageValue | Gets or sets an array of bytes that contains the processed brick’s image. |
KeyValue | Gets the processed card’s key. |
Text | Gets or sets the text displayed within the brick currently being rendered. |
TextValue | Gets or sets the processed brick’s value. |
TextValueFormatString | Gets or sets the pattern used to format values. |
Url | Gets or sets the rendered brick’s URL. |
Value | Gets the processed data cell’s value. |
VisibleIndex | Gets the processed card’s visible index. |
The event data class exposes the following methods:
Method | Description |
---|---|
GetValue(String) | Returns the value of the specified cell within the processed card. |
Remarks
We recommend that you use the ExportRenderBrick event only to customize the style settings.
Note
The ExportRenderBrick event does not fire when export data in DataAware mode. The DataAware mode is enabled by default when you export the grid to an XLS, XLSX or CSV file. In this case, you can disable the DataAware mode by setting the ASPxCardViewExportSettings.ExcelExportMode to ExportType.WYSIWYG or use the XlsExportOptionsEx.CustomizeCell or XlsxExportOptionsEx.CustomizeCell event instead the ExportRenderBrick.