Back to Devexpress

DataSourceOptionsBase.SkipHiddenRows Property

officefileapi-devexpress-dot-spreadsheet-dot-datasourceoptionsbase-2fe2d5c5.md

latest5.5 KB
Original Source

DataSourceOptionsBase.SkipHiddenRows Property

Gets or sets whether to include the hidden rows into the binding range.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public bool SkipHiddenRows { get; set; }
vb
Public Property SkipHiddenRows As Boolean

Property Value

TypeDescription
Boolean

true , to skip hidden rows; otherwise, false. Default is false.

|

Remarks

The SkipHiddenRows and DataSourceOptionsBase.SkipHiddenColumns properties operate differently depending on the data source type you use:

  • External Data Source

  • Cell Range as a Data Source

The following code snippets (auto-collected from DevExpress Examples) contain references to the SkipHiddenRows property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

how-to-bind-a-worksheet-to-a-generic-list-or-a-bindinglist-data-source/CS/DataBindingToListExample/Form1.cs#L51

csharp
dsOptions.CellValueConverter = new MyWeatherConverter();
dsOptions.SkipHiddenRows = true;

spreadsheet-document-api-data-binding/CS/SpreadsheetApiDataBinding/Program.cs#L50

csharp
dsOptions.CellValueConverter = new MyWeatherConverter();
dsOptions.SkipHiddenRows = true;

wpf-spreadsheet-bind-grid-control-to-worksheet-data/CS/WpfSpreadsheet_DataBinding/MainWindow.xaml.cs#L30

csharp
options.PreserveFormulas = true;
options.SkipHiddenRows = true;
// Bind the grid control to the table data.

wpf-spreadsheet-bind-a-worksheet-to-generic-list-or-bindinglist-data-source/CS/DataBindingToListExample/MainWindow.xaml.cs#L54

csharp
dsOptions.CellValueConverter = new MyWeatherConverter();
dsOptions.SkipHiddenRows = true;
// Bind the data source to the worksheet range.

how-to-bind-a-worksheet-to-a-generic-list-or-a-bindinglist-data-source/VB/DataBindingToListExample/Form1.vb#L54

vb
dsOptions.CellValueConverter = New MyWeatherConverter()
dsOptions.SkipHiddenRows = True

spreadsheet-document-api-data-binding/VB/SpreadsheetApiDataBinding/Program.vb#L44

vb
dsOptions.CellValueConverter = New MyWeatherConverter()
dsOptions.SkipHiddenRows = True

wpf-spreadsheet-bind-grid-control-to-worksheet-data/VB/WpfSpreadsheet_DataBinding/MainWindow.xaml.vb#L28

vb
options.PreserveFormulas = True
options.SkipHiddenRows = True
' Bind the grid control to the table data.

wpf-spreadsheet-bind-a-worksheet-to-generic-list-or-bindinglist-data-source/VB/DataBindingToListExample/MainWindow.xaml.vb#L57

vb
dsOptions.CellValueConverter = New MyWeatherConverter()
dsOptions.SkipHiddenRows = True
' Bind the data source to the worksheet range.

See Also

Data Binding in WinForms Spreadsheet Control

SkipHiddenColumns

DataSourceOptionsBase Class

DataSourceOptionsBase Members

DevExpress.Spreadsheet Namespace