Table of Contents

Class NoxExportOptions

Namespace
Nox.Grid.WinForms
Assembly
Nox.Grid.WinForms.dll

Export settings

public sealed class NoxExportOptions
Inheritance
NoxExportOptions
Inherited Members

Properties

AutoFilter

Excel: AutoFilter on the header (default: True if the grid's AllowFiltering is set).

public bool? AutoFilter { get; set; }

Property Value

bool?

Columns

Columns to export, in this order (hidden columns too). Null: the shown columns in screen order, following each column's Exportable (Auto: visible and Printable, Always, Never).

public IList<NoxGridColumn> Columns { get; set; }

Property Value

IList<NoxGridColumn>

Delimiter

CSV delimiter (default comma).

public char Delimiter { get; set; }

Property Value

char

Encoding

CSV encoding (default UTF-8 with BOM, so Excel shows non-ASCII text correctly).

public Encoding Encoding { get; set; }

Property Value

Encoding

FormattedText

CSV: use the displayed format as is (default True). False writes raw values (numbers as is, dates as yyyy-MM-dd HH:mm:ss).

public bool FormattedText { get; set; }

Property Value

bool

FreezeHeaders

Excel: freeze panes at the header and frozen columns (default True).

public bool FreezeHeaders { get; set; }

Property Value

bool

IncludeHeaders

Include the header row (default True).

public bool IncludeHeaders { get; set; }

Property Value

bool

IncludeStyles

Excel: include cell, row and column colors, bold, borders and alignment (default True).

public bool IncludeStyles { get; set; }

Property Value

bool

SelectedRowsOnly

Selected rows only (default False).

public bool SelectedRowsOnly { get; set; }

Property Value

bool

SheetName

Excel sheet name (default Sheet1).

public string SheetName { get; set; }

Property Value

string

VisibleRowsOnly

Visible rows only (excluding filtered and hidden rows, in display order). False exports all rows. (Default True)

public bool VisibleRowsOnly { get; set; }

Property Value

bool