Class TreeGridPdfExportingOptions
Represent a class that provides various properties and event handlers to customize SfTreeGrid to Pdf exporting.
Inheritance
Namespace: Syncfusion.UI.Xaml.TreeGrid.Converter
Assembly: Syncfusion.SfGridConverter.WPF.dll
Syntax
public class TreeGridPdfExportingOptions : Object
Constructors
TreeGridPdfExportingOptions()
Declaration
public TreeGridPdfExportingOptions()
Properties
AllowIndentColumn
Gets or sets the value that indicates whether the nodes should export with indent to denote it level.
Declaration
public bool AllowIndentColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the user can add the indent column based on the node level; otherwise, false. The default value is true. |
AutoColumnWidth
Gets or sets a value which indicates whether the column widths are automatically assigned based on its content or not.
Declaration
public bool AutoColumnWidth { get; set; }
Property Value
Type |
---|
System.Boolean |
AutoRowHeight
Gets or sets a value which indicates whether the row heights are automatically assigned based on its content or not.
Declaration
public bool AutoRowHeight { get; set; }
Property Value
Type |
---|
System.Boolean |
CanExportHyperLink
Gets or sets a value which indicates whether hyperlink column should be export with link or not.
Declaration
public bool CanExportHyperLink { get; set; }
Property Value
Type |
---|
System.Boolean |
CellsExportingEventHandler
Gets or sets a value which triggers for each cell and is used to handle or customize the cell.
Declaration
public TreeGridCellPdfExportingEventHandler CellsExportingEventHandler { get; set; }
Property Value
Type |
---|
TreeGridCellPdfExportingEventHandler |
Columns
Gets list of columns to export by excluding of ExcludeColumns.
Declaration
public List<string> Columns { get; }
Property Value
Type |
---|
System.Collections.Generic.List<System.String> |
ExcludeColumns
Gets or sets the value which indicates the columns that needs to be excluded while exporting.
Declaration
public List<string> ExcludeColumns { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.String> |
ExportFormat
Gets or sets a value which indicates whether the values should be exported with format or not.
Declaration
public bool ExportFormat { get; set; }
Property Value
Type |
---|
System.Boolean |
ExportStackedHeaders
Gets or sets the value which indicates whether stacked headers should be exported or not
Declaration
public bool ExportStackedHeaders { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if StackedHeaders should be exported; otherwise, false.The default value is false. |
FitAllColumnsInOnePage
Gets or sets a value which indicates whether all columns should be fit on a page or not.
Declaration
public bool FitAllColumnsInOnePage { get; set; }
Property Value
Type |
---|
System.Boolean |
HeaderCellStyle
Gets or sets a PdfGridCellStyle for header cell.
Declaration
public PdfGridCellStyle HeaderCellStyle { get; set; }
Property Value
Type |
---|
PdfGridCellStyle |
PageHeaderFooterEventHandler
Gets or sets a value which triggers for allowing the user to add header and footer of the page.
Declaration
public TreeGridPdfHeaderFooterEventHandler PageHeaderFooterEventHandler { get; set; }
Property Value
Type |
---|
TreeGridPdfHeaderFooterEventHandler |
PdfGridStyle
Gets or sets a PdfGridStyle for PdfGrid.
Declaration
public PdfGridStyle PdfGridStyle { get; set; }
Property Value
Type |
---|
PdfGridStyle |
RecordCellStyle
Gets or sets a PdfGridCellStyle for record cell.
Declaration
public PdfGridCellStyle RecordCellStyle { get; set; }
Property Value
Type |
---|
PdfGridCellStyle |
RepeatHeaders
Gets or sets the value which indicates whether the headers can be repeated in each page or not.
Declaration
public bool RepeatHeaders { get; set; }
Property Value
Type |
---|
System.Boolean |
StackedHeaderCellStyle
Gets or sets a PdfGridCellStyle for header cell.
Declaration
public PdfGridCellStyle StackedHeaderCellStyle { get; set; }
Property Value
Type |
---|
PdfGridCellStyle |