New to Telerik UI for WPFStart a free 30-day trial

Provides various options for exporting to XLSX and PDF.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.Export.dll

Syntax:

C#
public class GridViewDocumentExportOptions

Inheritance: objectGridViewDocumentExportOptions

Derived Classes: GridViewPdfExportOptions

Constructors

Initializes a new instance of the GridViewDocumentExportOptions class.

C#
public GridViewDocumentExportOptions()

Initializes a new instance of the GridViewDocumentExportOptions class.

C#
public GridViewDocumentExportOptions(GridViewDocumentExportOptions options)
Parameters:optionsGridViewDocumentExportOptions

The options.

Properties

Automatically fit columns' width based on its content.

C#
public bool AutoFitColumnsWidth { get; set; }

Export culture.

C#
public CultureInfo Culture { get; set; }

Gets or sets the columns that should not be exported.

C#
public IList<GridViewColumn> ExcludedColumns { get; }

Specifies whether GridViewDataControl will be exported with its default styles.

C#
public bool ExportDefaultStyles { get; set; }

Include collapsed groups on export.

C#
public bool IgnoreCollapsedGroups { get; set; }

Items to be exported.

C#
public IEnumerable Items { get; set; }

Include column footers on export.

C#
public bool ShowColumnFooters { get; set; }

Include column headers on export.

C#
public bool ShowColumnHeaders { get; set; }

Include group footers on export.

C#
public bool ShowGroupFooters { get; set; }

Include group header aggregates on export.

C#
public bool ShowGroupHeaderRowAggregates { get; set; }

Include group rows on export.

C#
public bool ShowGroupRows { get; set; }