Table of Contents

Class NoxImportOptions

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

Import settings (Excel .xlsx, CSV)

public sealed class NoxImportOptions
Inheritance
NoxImportOptions
Inherited Members

Properties

Delimiter

CSV delimiter (Nothing detects comma, tab or semicolon from the first line).

public char? Delimiter { get; set; }

Property Value

char?

DetectColumnTypes

Inspects each column's values to create number, date or check columns (default True).

public bool DetectColumnTypes { get; set; }

Property Value

bool

Encoding

CSV encoding (Nothing tries BOM → UTF-8 → system default (Korean Windows: CP949) in that order).

public Encoding Encoding { get; set; }

Property Value

Encoding

FirstRowIsHeader

Use the first line as column headers (default True). False treats the first line as data, with headers A, B, C …

public bool FirstRowIsHeader { get; set; }

Property Value

bool

ImportFormulas

Excel: import formulas as formulas (default True). Unsupported formulas are imported as their stored values.

public bool ImportFormulas { get; set; }

Property Value

bool

ImportStyles

Excel: colors, bold, column widths, row heights, merges, hidden rows/columns, freeze panes and AutoFilter (default True).

public bool ImportStyles { get; set; }

Property Value

bool

SheetIndex

Excel: zero-based index of the sheet to import (default 0).

public int SheetIndex { get; set; }

Property Value

int

SheetName

Excel: name of the sheet to import (empty uses SheetIndex).

public string SheetName { get; set; }

Property Value

string