An AI Agent that interacts with Windows OS at GUI level.
Python
get_ColumnCount
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 |
| Minimum supported server | Windows Server 2003 [desktop apps |
| Target Platform | Windows |
| Header | uiautomationcore.h (include UIAutomation.h) |
| DLL | Uiautomationcore.dll |
See also
UI Automation Providers Overview