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

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Spreadsheet, 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