GridOptionsPrint Members

Provides print/export options for Grid Views.

Constructors

Name Description
GridOptionsPrint() Creates a new instance of the GridOptionsPrint class.

Properties

Name Description
AllowCancelPrintExport Gets or sets whether the print/export progress window contains a Cancel button, which allows an end-user to cancel the current print/export operation. Inherited from ViewPrintOptionsBase.
AllowMultilineHeaders Gets or sets whether text is wrapped in the print/export output if it contains newline characters.
AutoResetPrintDocument Gets or sets whether the grid automatically clears a generated print/export document and then generates this document each time the grid is printed/exported. In server mode, this option is not in effect. Inherited from ViewPrintOptionsBase.
AutoWidth Gets or sets whether widths of columns in the print/export output are automatically changed so that the View fits the page width.
EnableAppearanceEvenRow Gets or sets whether even rows in the print/export output are painted using the appearance settings provided by the GridViewPrintAppearances.EvenRow property. This option is in effect when the GridOptionsPrint.UsePrintStyles property is set to true.
EnableAppearanceOddRow Gets or sets whether odd rows in the print/export output are painted using the appearance settings provided by the GridViewPrintAppearances.OddRow property. This option is in effect when the GridOptionsPrint.UsePrintStyles property is set to true.
ExpandAllDetails Gets or sets whether the View is printed/exported with all master rows expanded.
ExpandAllGroups Gets or sets whether the View is printed/exported with all group rows expanded.
IgnoreGroupDrawMode
IgnoreHtmlDrawGroups
MaxMergedCellHeight Gets or sets the maximum height of merged cells in the print/export output.
PrintDetails Gets or sets to print/export details of master rows.
PrintFilterInfo Gets or sets whether to display the filter panel in the print/export output.
PrintFixedColumnsOnEveryPage Gets or sets whether left-fixed columns and bands are repeated on every print/export page.
PrintFooter Gets or sets whether to display the view footer in the print/export output. Supports WYSIWYG and Data-aware export mode.
PrintGroupFooter Gets or sets whether to display group footers in the print/export output.
PrintHeader Gets or sets whether to display column headers in the print/export output. Supports WYSIWYG and Data-aware export mode.
PrintHorzLines Gets or sets whether horizontal grid lines are printed/exported. Supports WYSIWYG and Data-aware export mode.
PrintPreview Gets or sets whether to display the preview sections in the print/export output.
PrintSelectedGroupChildren
PrintSelectedRowsOnly Gets or sets whether only the focused/selected rows are printed/exported.
PrintVertLines Gets or sets whether vertical grid lines are displayed in the print/export output. Supports WYSIWYG and Data-aware export mode.
RtfPageFooter Gets or sets a page footer, in rich text format. Inherited from ViewPrintOptionsBase.
RtfPageHeader Gets or sets a page header, in rich text format. Inherited from ViewPrintOptionsBase.
RtfReportFooter Gets or sets a document/report footer, in rich text format. Inherited from ViewPrintOptionsBase.
RtfReportHeader Gets or sets a document/report header, in rich text format. Inherited from ViewPrintOptionsBase.
ShowPrintExportProgress Gets or sets whether a separate window is used to indicate print/export progress. Inherited from ViewPrintOptionsBase.
SplitCellPreviewAcrossPages Gets or sets whether preview sections are allowed to be split across pages when printing/exporting.
SplitDataCellAcrossPages Gets or sets whether data cells are allowed to be split across pages when printing/exporting.
UsePrintStyles Gets or sets whether print appearances are used when the grid control is printed/exported.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all options to their default values. Inherited from BaseOptions.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.
See Also