Provides various options for exporting to XLSX and PDF.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.Export.dll
Syntax:
public class GridViewDocumentExportOptions
Inheritance: objectGridViewDocumentExportOptions
Derived Classes:
Constructors
Initializes a new instance of the GridViewDocumentExportOptions class.
public GridViewDocumentExportOptions()
Initializes a new instance of the GridViewDocumentExportOptions class.
public GridViewDocumentExportOptions(GridViewDocumentExportOptions options)
The options.
Properties
Automatically fit columns' width based on its content.
public bool AutoFitColumnsWidth { get; set; }
Export culture.
public CultureInfo Culture { get; set; }
Gets or sets the columns that should not be exported.
public IList<GridViewColumn> ExcludedColumns { get; }
Specifies whether GridViewDataControl will be exported with its default styles.
public bool ExportDefaultStyles { get; set; }
Include collapsed groups on export.
public bool IgnoreCollapsedGroups { get; set; }
Items to be exported.
public IEnumerable Items { get; set; }
Include column footers on export.
public bool ShowColumnFooters { get; set; }
Include column headers on export.
public bool ShowColumnHeaders { get; set; }
Include group footers on export.
public bool ShowGroupFooters { get; set; }
Include group header aggregates on export.
public bool ShowGroupHeaderRowAggregates { get; set; }
Include group rows on export.
public bool ShowGroupRows { get; set; }