IGridProvider::get_ColumnCount method (uiautomationcore.h)

Specifies the total number of columns in the grid.

This property is read-only.

Syntax

HRESULT get_ColumnCount(
  int *pRetVal
);

Parameters

pRetVal

Return value

None

Remarks

Hidden rows and columns, depending on the provider implementation, may be loaded in the logical tree and will therefore be reflected in the IGridProvider::RowCount and IGridProvider::ColumnCount properties. If the hidden rows and columns have not yet been loaded they will not be counted.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)
DLL Uiautomationcore.dll

See also

IGridProvider

UI Automation Providers Overview