Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Worksheet.ScrollToColumn(Int32) Method

Scrolls the worksheet to the specified column.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

void ScrollToColumn(
    int columnIndex
)

#Parameters

Name Type Description
columnIndex Int32

An integer that is the zero-based index of the column to which the worksheet must be scrolled.

#Remarks

If you scroll to a column that is hidden, the worksheet will be scrolled to the first unhidden column to the right of the specified column.

ScrollToHiddenColumnIndex

If you scroll to a column that is frozen, the worksheet will be scrolled to the first column of the scrollable area.

ScrollToFrozenColumnIndex

See Also