Skip to main content

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.v23.2.dll

NuGet Package: 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