Class DataGridCellPdfExportingEventArgs
Provides data for the cell exporting event.
Inherited Members
Namespace: Syncfusion.Maui.DataGrid.Exporting
Assembly: Syncfusion.Maui.DataGridExport.dll
Syntax
public sealed class DataGridCellPdfExportingEventArgs : EventArgs
Constructors
DataGridCellPdfExportingEventArgs(RecordEntry, PdfGridCell, ExportCellType, object, object, ViewDefinition, int, string, IPropertyAccessProvider, object)
Initializes a new instance of the DataGridCellPdfExportingEventArgs class.
Declaration
public DataGridCellPdfExportingEventArgs(RecordEntry record, PdfGridCell pdfGridCell, ExportCellType exportCellType, object cellValue, object exportNodeEntry, ViewDefinition detailsViewDefinition, int level, string columnName, IPropertyAccessProvider propertyAccessProvider, object rowData = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RecordEntry | record | The record entry of the cell to be exported. |
| PdfGridCell | pdfGridCell | The PdfGridCell to be exported. |
| ExportCellType | exportCellType | The type of the cell to be exported. |
| object | cellValue | The value of the cell being exported. |
| object | exportNodeEntry | Gets the node entry for the cell being exported. |
| ViewDefinition | detailsViewDefinition | Gets a value that specifies the DetailsViewDefinition. |
| int | level | Gets a value that specifies the level of the currently exporting DataGrid. |
| string | columnName | The column name of the cell being exported. |
| IPropertyAccessProvider | propertyAccessProvider | Gets the property access provider for the cell being exported. |
| object | rowData | The row data of the cell to be exported. |
DataGridCellPdfExportingEventArgs(PdfGridCell, ExportCellType, object, object, ViewDefinition, int, string, IPropertyAccessProvider)
Initializes a new instance of the DataGridCellPdfExportingEventArgs class.
Declaration
public DataGridCellPdfExportingEventArgs(PdfGridCell pdfGridCell, ExportCellType exportCellType, object cellValue, object exportNodeEntry, ViewDefinition detailsViewDefinition, int level, string columnName, IPropertyAccessProvider propertyAccessProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| PdfGridCell | pdfGridCell | The PdfGridCell to be exported. |
| ExportCellType | exportCellType | The type of the cell to be exported. |
| object | cellValue | The value of the cell being exported. |
| object | exportNodeEntry | Gets the node entry for the cell being exported. |
| ViewDefinition | detailsViewDefinition | Gets a value that specifies the DetailsViewDefinition. |
| int | level | Gets a value that specifies the level of the currently exporting DataGrid |
| string | columnName | The column name of the cell being exported. |
| IPropertyAccessProvider | propertyAccessProvider | Gets the property access provider for the cell being exported. |
Properties
CellType
Gets the exporting cell type.
Declaration
public ExportCellType CellType { get; }
Property Value
| Type | Description |
|---|---|
| ExportCellType | The ExportCellType representing the exporting cell type. |
CellValue
Gets or sets the exporting cell value.
Declaration
public object CellValue { get; set; }
Property Value
| Type | Description |
|---|---|
| object | The exporting cell value. |
ColumnName
Gets the column name of the cell to be exported.
Declaration
public string ColumnName { get; }
Property Value
| Type | Description |
|---|---|
| string | The column name of the cell to be exported. |
DetailsViewDefinition
Gets a value that specifies the DetailsViewDefinition.
Declaration
public ViewDefinition DetailsViewDefinition { get; }
Property Value
| Type |
|---|
| ViewDefinition |
Handled
Gets or sets a value indicating whether cell exporting is handled.
Declaration
public bool Handled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A boolean value indicating whether cell exporting is handled. |
Level
Gets a value that specifies the level of the currently exporting DataGrid. It is 0 for Parent dataGrid, 1 for First Level Nested DataGrid, and so on.
Declaration
public int Level { get; }
Property Value
| Type |
|---|
| int |
NodeEntry
Gets the node entry for the cell being exported.
Declaration
public object NodeEntry { get; }
Property Value
| Type |
|---|
| object |
PdfGridCell
Gets the exporting PdfGridCell.
Declaration
public PdfGridCell PdfGridCell { get; }
Property Value
| Type | Description |
|---|---|
| PdfGridCell | The exporting PdfGridCell. |
PropertyAccessProvider
Gets the property access provider for the cell being exported.
Declaration
public IPropertyAccessProvider PropertyAccessProvider { get; }
Property Value
| Type |
|---|
| IPropertyAccessProvider |
Record
Gets the record of the exporting cell.
Declaration
public RecordEntry? Record { get; }
Property Value
| Type | Description |
|---|---|
| RecordEntry | The record of the exporting cell. |
RowData
Gets the row data of the exporting cell.
Declaration
public object? RowData { get; }
Property Value
| Type | Description |
|---|---|
| object | The row data of the exporting cell. |