Skip to main content

WorksheetDisplayArea.GetColumnCount(String) 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(
    string worksheetName
)

Parameters

Name Type Description
worksheetName String

A string that is the name of the worksheet.

Returns

Type Description
Int32

An integer that is the number of columns.

See Also