Class
GridViewDocumentExportOptions

Provides various options for exporting to XLSX and PDF.

Definition

Namespace:Telerik.Windows.Controls

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

Syntax:

cs-api-definition
public class GridViewDocumentExportOptions

Inheritance: objectGridViewDocumentExportOptions

Derived Classes: GridViewPdfExportOptions

Constructors

GridViewDocumentExportOptions()

Initializes a new instance of the GridViewDocumentExportOptions class.

Declaration

cs-api-definition
public GridViewDocumentExportOptions()

GridViewDocumentExportOptions(GridViewDocumentExportOptions)

Initializes a new instance of the GridViewDocumentExportOptions class.

Declaration

cs-api-definition
public GridViewDocumentExportOptions(GridViewDocumentExportOptions options)

Parameters

options

GridViewDocumentExportOptions

The options.

Properties

AutoFitColumnsWidth

Automatically fit columns' width based on its content.

Declaration

cs-api-definition
public bool AutoFitColumnsWidth { get; set; }

Property Value

bool

Culture

Export culture.

Declaration

cs-api-definition
public CultureInfo Culture { get; set; }

Property Value

CultureInfo

ExcludedColumns

Gets or sets the columns that should not be exported.

Declaration

cs-api-definition
public IList<GridViewColumn> ExcludedColumns { get; }

Property Value

IList<GridViewColumn>

ExportDefaultStyles

Specifies whether GridViewDataControl will be exported with its default styles.

Declaration

cs-api-definition
public bool ExportDefaultStyles { get; set; }

Property Value

bool

IgnoreCollapsedGroups

Include collapsed groups on export.

Declaration

cs-api-definition
public bool IgnoreCollapsedGroups { get; set; }

Property Value

bool

Items

Items to be exported.

Declaration

cs-api-definition
public IEnumerable Items { get; set; }

Property Value

IEnumerable

ShowColumnFooters

Include column footers on export.

Declaration

cs-api-definition
public bool ShowColumnFooters { get; set; }

Property Value

bool

ShowColumnHeaders

Include column headers on export.

Declaration

cs-api-definition
public bool ShowColumnHeaders { get; set; }

Property Value

bool

ShowGroupFooters

Include group footers on export.

Declaration

cs-api-definition
public bool ShowGroupFooters { get; set; }

Property Value

bool

ShowGroupHeaderRowAggregates

Include group header aggregates on export.

Declaration

cs-api-definition
public bool ShowGroupHeaderRowAggregates { get; set; }

Property Value

bool

ShowGroupRows

Include group rows on export.

Declaration

cs-api-definition
public bool ShowGroupRows { get; set; }

Property Value

bool