Skip to main content

SpreadsheetTxtImportOptions.NewlineType Property

Gets or sets a character sequence used to define a new line. This is a dependency property.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v23.2.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

Declaration

public NewlineType NewlineType { get; set; }

Property Value

Type Description
NewlineType

A NewlineType enumeration member.

Available values:

Name Description
CrLf

CR+LF, ‘\r\n’, 0x0D0A ASCII character sequence.

Lf

LF, 0x0A ASCII character.

Cr

CR, ‘\r’, 0x0D ASCII character.

LfCr

LF+CR, 0x0A0D ASCII character sequence.

VerticalTab

Vertical Tab, 0x0B ASCII character.

FormFeed

FF, 0x0C ASCII character.

MsDos

CR+LF, ‘\r\n’, 0x0D0A ASCII character sequence.

Unix

LF, 0x0A ASCII character.

Auto

For import - the new line character sequence is determined automatically. For export - 0x0D0A ASCII character sequence.

AnyCrLf

For import - any of the 0x0A, 0x0D characters or their combinations. For export - 0x0D0A ASCII character sequence.

Property Paths

You can access this nested property as listed below:

Object Type Path to NewlineType
SpreadsheetImportOptions
.Txt .NewlineType
See Also