Skip to main content

WorksheetDisplayArea.GetColumnCount(Int32) Method

Returns the number of visible columns in the specified worksheet.

Namespace: DevExpress.Web.ASPxSpreadsheet

Assembly: DevExpress.Web.ASPxSpreadsheet.v24.1.dll

NuGet Package: DevExpress.Web.Office

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