Back to Devexpress

ASPxGridViewExportSettings Members

aspnet-devexpress-dot-web-dot-aspxgridviewexportsettings-dot-underscore-members.md

latest7.1 KB
Original Source

ASPxGridViewExportSettings Members

Contains the export settings to be applied when the GridView’s data is exported.

Constructors

NameDescription
ASPxGridViewExportSettings(IPropertiesOwner)Initializes a new instance of the ASPxGridViewExportSettings class.

Fields

NameDescription
DefaultMaxColumnWidth staticHolds the default value for the column’s maximum width, in pixels. Inherited from ASPxGridExportSettings.

Properties

NameDescription
BottomMargin

Gets or sets the target document’s bottom margin. This property is not in effect when exporting to XLX or XLSX.

| | DetailHorizontalOffset | Gets or sets the detail row’s horizontal offset. | | DetailVerticalOffset | Gets or sets the detail row’s vertical offset. | | EnableClientSideExportAPI | Gets or sets a value specifying whether the client exporting API is enabled. Inherited from ASPxGridExportSettings. | | ExcelExportMode | Specifies the export mode when saving grid data to XLS and XLSX formats. | | ExportEmptyDetailGrid | Gets or sets a value indicating whether it’s necessary to export a detail grid, when it is empty. | | ExportSelectedRowsOnly | Specifies if only selected rows should be exported. | | FileName | Specifies the name of the exported file. | | Landscape | Gets or sets whether data is exported in Landscape. Setting this property to true is not in effect when exporting to XLX or XLSX. | | LeftMargin |

Gets or sets the target document’s left margin. This property is not in effect when exporting to XLX or XLSX.

| | MaxColumnWidth | Gets or sets the column’s maximum width. | | PageFooter | Gets the page footer’s settings. | | PageHeader | Gets the page header’s settings. | | PaperKind | Gets or sets the type of paper for the exported report. | | PaperName | Gets or sets the name of the custom paper which is used for export purposes. | | PreserveGroupRowStates | Gets or sets whether the expanded state of group rows is preserved when the ASPxGridView’s data is exported. | | PrintSelectCheckBox | Gets or sets whether check boxes (or radio buttons) used to select/deselect data rows, are printed. | | ReportFooter | Specifies the text displayed within a report’s footer. | | ReportHeader | Specifies the text displayed within a report’s header. | | RightMargin |

Gets or sets the target document’s right margin. This property is not in effect when exporting to XLX or XLSX.

| | RightToLeft | Specifies whether to apply right-to-left representation to the control. Inherited from ASPxGridExportSettings. | | SplitDataCellAcrossPages | Gets or sets whether data cells are allowed to be split across pages when exporting. | | TopMargin |

Gets or sets the target document’s top margin. This property is not in effect when exporting to XLX or XLSX.

|

Methods

NameDescription
Assign(PropertiesBase)Copies the public properties from the specified object to the current one.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the string that represents the current object. Inherited from StateManager.

See Also

ASPxGridViewExportSettings Class

DevExpress.Web Namespace