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

WorksheetDisplayArea.GetColumnCount(Int32) Method

Returns the number of visible columns in the specified worksheet.

Namespace: DevExpress.Web.ASPxSpreadsheet

Assembly: DevExpress.Web.ASPxSpreadsheet.v18.2.dll

Declaration

public int GetColumnCount(
    int worksheetIndex
)

Parameters

Name Type Description
worksheetIndex Int32

An integer that is the zero-based index of the worksheet in the worksheet collection.

Returns

Type Description
Int32

An integer that represents the number of columns currently visible in a worksheet.

See Also