Skip to main content
A newer version of this page is available. .

WorksheetDisplayArea.GetColumnCount(Int32) Method

Obtains the number of columns available for display and editing in a worksheet.

Namespace: DevExpress.Xpf.Spreadsheet

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Spreadsheet, DevExpress.Wpf.Spreadsheet

Declaration

public int GetColumnCount(
    int worksheetIndex
)

Parameters

Name Type Description
worksheetIndex Int32

An integer that is the index of the worksheet in a workbook.

Returns

Type Description
Int32

An integer that is the number of columns.

See Also