UI Automation Property List

This topic lists all the Microsoft UI Automation properties with their data types and default values.

The PROPERTYID values are used by clients. Providers use the equivalent GUID, which is defined in the form xxx_Property_GUID; for example, AcceleratorKey_Property_GUID.

PROPERTYID Variant Type Default Value Description
UIA_AcceleratorKeyPropertyId VT_BSTR Empty string Shortcut key for the element's default action.
UIA_AccessKeyPropertyId VT_BSTR Empty string Keys used to move focus to a control.
UIA_AriaPropertiesPropertyId VT_BSTR NULL A collection of Accessible Rich Internet Application (ARIA) properties, each consisting of a name/value pair delimited by ‘-’ and ‘;’ (for example, ("checked=true;disabled=false").
UIA_AriaRolePropertyId VT_BSTR Empty string ARIA role information.
UIA_AutomationIdPropertyId VT_BSTR Empty string UI Automation identifier.
UIA_BoundingRectanglePropertyId VT_R8|VT_ARRAY Empty rectangle. Coordinates of the rectangle that completely encloses the element.
UIA_ClassNamePropertyId VT_BSTR Empty string Class name of the element as assigned by the control developer.
UIA_ClickablePointPropertyId VT_R8|VT_ARRAY NULL Screen coordinates of any clickable point within the control.
UIA_ControllerForPropertyId VT_UNKNOWN|VT_ARRAY NULL Array of elements controlled by the automation element that supports this property.
UIA_ControlTypePropertyId VT_I4 UIA_CustomControlTypeId Control Type of the element.
UIA_CulturePropertyId VT_I4 0 Locale identifier of the element.
UIA_DescribedByPropertyId VT_UNKNOWN|VT_ARRAY NULL Array of elements that provide more information about the element.
UIA_DockDockPositionPropertyId VT_I4 DockPosition_None Docking position.
UIA_ExpandCollapseExpandCollapseStatePropertyId VT_I4 ExpandCollapseState_LeafNode The expand/collapse state.
UIA_FlowsToPropertyId VT_UNKNOWN|VT_ARRAY NULL Array of elements that suggest the reading order after the corresponding element.
UIA_FrameworkIdPropertyId VT_BSTR Empty string Underlying UI framework that the element is part of.
UIA_GridColumnCountPropertyId VT_I4 0 Number of columns.
UIA_GridItemColumnPropertyId VT_I4 0 Column the item is in.
UIA_GridItemColumnSpanPropertyId VT_I4 DV_INT_1 number of columns that the item spans.
UIA_GridItemContainingGridPropertyId VT_UNKNOWN NULL UI Automation provider that implements IGridProvider and represents the container of the cell or item.
UIA_GridItemRowPropertyId VT_I4 0 Row the item is in.
UIA_GridItemRowSpanPropertyId VT_I4 DV_INT_1 Number of rows that the item spzns.
UIA_GridRowCountPropertyId VT_I4 0 Number of rows.
UIA_HasKeyboardFocusPropertyId VT_BOOL FALSE Whether the element has the keyboard focus.
UIA_HelpTextPropertyId VT_BSTR Empty string Additional information about how to use the element.
UIA_IsContentElementPropertyId VT_BOOL TRUE Whether the element appears in the content view of the automation element tree.
UIA_IsControlElementPropertyId VT_BOOL TRUE Whether the element appears in the control view of the automation element tree.
UIA_IsDataValidForFormPropertyId VT_BOOL FALSE Whether the data in a form is valid.
UIA_IsDockPatternAvailablePropertyId VT_BOOL FALSE Whether the Dock control pattern is available on the element.
UIA_IsEnabledPropertyId VT_BOOL FALSE Whether the control is enabled.
UIA_IsExpandCollapsePatternAvailablePropertyId VT_BOOL FALSE Whether the ExpandCollapse control pattern is available on the element.
UIA_IsGridItemPatternAvailablePropertyId VT_BOOL FALSE Whether the GridItem control pattern is available on the element.
UIA_IsGridPatternAvailablePropertyId VT_BOOL FALSE Whether the Grid control pattern is available on the element.
UIA_IsInvokePatternAvailablePropertyId VT_BOOL FALSE Whether the Invoke control pattern is available on the element.
UIA_IsItemContainerPatternAvailablePropertyId VT_BOOL FALSE Whether the ItemContainer control pattern is available on the element.
UIA_IsKeyboardFocusablePropertyId VT_BOOL FALSE Whether the element can accept the keyboard focus.
UIA_IsLegacyIAccessiblePatternAvailablePropertyId VT_BOOL FALSE Whether the LegacyIAccessible control pattern is available on the control.
UIA_IsMultipleViewPatternAvailablePropertyId VT_BOOL FALSE Whether the pattern is available on the control.
UIA_IsOffscreenPropertyId VT_BOOL FALSE Whether the element is scrolled or collapsed out of view.
UIA_IsPasswordPropertyId VT_BOOL FALSE Whether the element contains protected content or a password.
UIA_IsRangeValuePatternAvailablePropertyId VT_BOOL FALSE Whether the RangeValue pattern is available on the control.
UIA_IsRequiredForFormPropertyId VT_BOOL FALSE Whether the element is a required field on a form.
UIA_IsScrollItemPatternAvailablePropertyId VT_BOOL FALSE Whether the ScrollItem control pattern is available on the element.
UIA_IsScrollPatternAvailablePropertyId VT_BOOL FALSE Whether the Scroll control pattern is available on the element.
UIA_IsSelectionItemPatternAvailablePropertyId VT_BOOL FALSE Whether the SelectionItem control pattern is available on the element.
UIA_IsSelectionPatternAvailablePropertyId VT_BOOL FALSE Whether the pattern is available on the element.
UIA_IsSynchronizedInputPatternAvailablePropertyId VT_BOOL FALSE Whether the SynchronizedInput control pattern is available on the element.
UIA_IsTableItemPatternAvailablePropertyId VT_BOOL FALSE Whether the TableItem control pattern is available on the element.
UIA_IsTablePatternAvailablePropertyId VT_BOOL FALSE Whether the Table conntrol pattern is available on the element.
UIA_IsTextPatternAvailablePropertyId VT_BOOL FALSE Whether the Text control pattern is available on the element.
UIA_IsTogglePatternAvailablePropertyId VT_BOOL FALSE Whether the Toggle control pattern is available on the element.
UIA_IsTransformPatternAvailablePropertyId VT_BOOL FALSE Whether the Transform control pattern is available on the element.
UIA_IsValuePatternAvailablePropertyId VT_BOOL FALSE Whether the Value control pattern is available on the element.
UIA_IsVirtualizedItemPatternAvailablePropertyId VT_BOOL FALSE Whether the VirtualizedItem control pattern is available on the element.
UIA_IsWindowPatternAvailablePropertyId VT_BOOL FALSE Whether the Window control pattern is available on the element.
UIA_ItemStatusPropertyId VT_BSTR Empty string Control-specific status.
UIA_ItemTypePropertyId VT_BSTR Empty string Description of the item type, such as "Document File" or "Folder".
UIA_LabeledByPropertyId VT_UNKNOWN NULL Element that contains the text label for this element.
UIA_LegacyIAccessibleChildIdPropertyId VT_I4 0 MSAA child ID of the element.
UIA_LegacyIAccessibleDefaultActionPropertyId VT_BSTR Empty string MSAA default action.
UIA_LegacyIAccessibleDescriptionPropertyId VT_BSTR Empty string MSAA description.
UIA_LegacyIAccessibleHelpPropertyId VT_BSTR Empty string MSAA help string.
UIA_LegacyIAccessibleKeyboardShortcutPropertyId VT_BSTR Empty string MSAA shortcut key.
UIA_LegacyIAccessibleNamePropertyId VT_BSTR Empty string MSAA name.
UIA_LegacyIAccessibleRolePropertyId VT_I4 0 MSAA role.
UIA_LegacyIAccessibleSelectionPropertyId VT_UNKNOWN | VT_ARRAY Empty array MSAA selection.
UIA_LegacyIAccessibleStatePropertyId VT_I4 0 MSAA state.
UIA_LegacyIAccessibleValuePropertyId VT_BSTR Empty string MSAA value.
UIA_LocalizedControlTypePropertyId VT_BSTR Empty string Localized string describing the control type of element.
UIA_MultipleViewCurrentViewPropertyId VT_I4 0 Current view state of the control.
UIA_MultipleViewSupportedViewsPropertyId VT_I4 | VT_ARRAY DV_INTARRAY_EMPTY Supported control-specific views.
UIA_NamePropertyId VT_BSTR Empty string Name of the control.
UIA_NativeWindowHandlePropertyId VT_I4 0 Underlying HWND of the element, if one exists.
UIA_OrientationPropertyId VT_I4 OrientationType_None Orientation of the element.
UIA_ProcessIdPropertyId VT_I4 0 Identifier of the process that the element resides in.
UIA_ProviderDescriptionPropertyId VT_BOOL FALSE Description of the UI Automation provider.
UIA_RangeValueIsReadOnlyPropertyId VT_BOOL TRUE Whether the value is read-only.
UIA_RangeValueLargeChangePropertyId VT_R8 0 Amount by which the value is adjusted by input such as PgDn.
UIA_RangeValueMaximumPropertyId VT_R8 0 Maximum value in the range.
UIA_RangeValueMinimumPropertyId VT_R8 0 Minimum value in the range.
UIA_RangeValueSmallChangePropertyId VT_R8 0 Amount by which the value is adjusted by input such as an arrow key.
UIA_RangeValueValuePropertyId VT_R8 0 Current value.
UIA_RuntimeIdPropertyId VT_I4|VT_ARRAY n/a Run time identifier of the element.
UIA_ScrollHorizontallyScrollablePropertyId VT_BOOL FALSE Whether the control can be scrolled horizontally.
UIA_ScrollHorizontalScrollPercentPropertyId VT_R8 0 How far the element is currently scrolled.
UIA_ScrollHorizontalViewSizePropertyId VT_R8 100 The viewable width of the control.
UIA_ScrollVerticallyScrollablePropertyId VT_BOOL FALSE Whether the control can be scrolled vertically.
UIA_ScrollVerticalScrollPercentPropertyId VT_R8 0 How far the element is currently scrolled.
UIA_ScrollVerticalViewSizePropertyId VT_R8 100 The viewable height of the control.
UIA_SelectionCanSelectMultiplePropertyId VT_BOOL FALSE Whether multiple items can be in the selection.
UIA_SelectionIsSelectionRequiredPropertyId VT_BOOL FALSE Whether at least one item must be in the selection at all times.
UIA_SelectionSelectionPropertyId VT_UNKNOWN | VT_ARRAY Empty array The items in the selection.
UIA_SelectionItemIsSelectedPropertyId VT_BOOL FALSE Whether the item can be selected.
UIA_SelectionItemSelectionContainerPropertyId VT_UNKNOWN NULL The control that contains the item.
UIA_TableColumnHeadersPropertyId VT_UNKNOWN | VT_ARRAY Empty array Collection of column header providers.
UIA_TableItemColumnHeaderItemsPropertyId VT_UNKNOWN | VT_ARRAY Empty array Column headers.
UIA_TableRowHeadersPropertyId VT_UNKNOWN | VT_ARRAY Empty array Collection of row header providers.
UIA_TableRowOrColumnMajorPropertyId VT_I4 RowOrColumnMajor_Indeterminate Whether the table is primarily organized by row or column.
UIA_TableItemRowHeaderItemsPropertyId VT_UNKNOWN | VT_ARRAY Empty array Row headers.
UIA_ToggleToggleStatePropertyId VT_I4 ToggleState_Indeterminate The toggle state of the control.
UIA_TransformCanMovePropertyId VT_BOOL FALSE Whether the element can be moved.
UIA_TransformCanResizePropertyId VT_BOOL FALSE Whether the element can be resized.
UIA_TransformCanRotatePropertyId VT_BOOL FALSE Whether the element can be rotated.
UIA_ValueIsReadOnlyPropertyId VT_BOOL TRUE Whether the value is read-only.
UIA_ValueValuePropertyId VT_BSTR Empty string Current value.
UIA_WindowCanMaximizePropertyId VT_BOOL FALSE Whether the window can be maximized.
UIA_WindowCanMinimizePropertyId VT_BOOL FALSE Whether the window can be minimized.
UIA_WindowIsModalPropertyId VT_BOOL FALSE Whether the window is modal.
UIA_WindowIsTopmostPropertyId VT_BOOL FALSE Whether the window is on top of other windows.
UIA_WindowWindowInteractionStatePropertyId VT_I4 WindowInteractionState_Running Whether the window can receive input.
UIA_WindowWindowVisualStatePropertyId VT_I4 WindowVisualState_Normal Whether the window is maximized, minimized, or restored (normal).

Related Topics

Community Additions

Show: