SpreadsheetTxtExportOptions.ShiftTopLeft Property

Gets or sets whether to skip the top left empty cells when exporting the worksheet. This is a dependency property.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v20.1.dll

Declaration

public bool ShiftTopLeft { get; set; }
Public Property ShiftTopLeft As Boolean

Property Value

Type Description
Boolean

true to skip the top left empty cells; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShiftTopLeft
SpreadsheetControl
.Options.Export.Txt.ShiftTopLeft
SpreadsheetControlOptions
.Export.Txt.ShiftTopLeft
SpreadsheetExportOptions
.Txt.ShiftTopLeft

Remarks

If the SpreadsheetTxtExportOptions.Range is not specified, the ShiftTopLeft property allows you to skip the top left empty cells. If the ShiftTopLeft is set to true, the worksheet (before export) is treated as if the non-empty cells are shifted up and left so that the top left cell of the non-empty range becomes the top left cell of the worksheet.

If the ShiftTopLeft is false (default), the top left empty cells are exported, resulting in strings filled with the SpreadsheetTxtExportOptions.ValueSeparator characters.

See Also