Share via


Control Pattern Property Identifiers

This section lists the constant values used to identify the properties associated with specific Microsoft UI Automation control patterns.

Constants

  • UIA_DockDockPositionPropertyId (30069)
    Identifies the DockPosition property of the Dock control pattern. This property indicates the dock position of the automation element within a docking container, and is expressed as a value from the DockPosition enumerated type.
    The DockPosition property has a variant type of VT_I4; the default value is DockPosition_None.
  • UIA_ExpandCollapseExpandCollapseStatePropertyId (30070)
    Identifies the ExpandCollapseState property of the ExpandCollapse control pattern. This property indicates the current state, expanded or collapsed, of the automation element, and is expressed as a value from the ExpandCollapseState enumerated type.
    The ExpandCollapseState property has a variant type of VT_I4; the default value is ExpandCollapseState_LeafNode.
  • UIA_GridColumnCountPropertyId (30063)
    Identifies the ColumnCount property of the Grid control pattern. This property indicates the total number of columns in the grid.
    The ColumnCount property has a variant type of VT_I4; the default value is 0.
  • UIA_GridItemColumnPropertyId (30065)
    Identifies the Column property of the GridItem control pattern. This property indicates the ordinal number of the column that contains the cell or item.
    The Column property has a variant type of VT_I4; the default value is 0.
  • UIA_GridItemColumnSpanPropertyId (30067)
    Identifies the ColumnSpan property of the GridItem control pattern. This property indicates the number of columns spanned by the cell or item.
    The ColumnSpan property has a variant type of VT_I4; the default value is 1.
  • UIA_GridItemContainingGridPropertyId (30068)
    Identifies the ContainingGrid property of the GridItem control pattern. This property is the IUIAutomationElement interface pointer of the automation element that contains the cell or item. The container element implements the Grid control pattern (IGridProvider).
    The ContainingGrid property has a variant type of VT_IUNKNOWN; the default value is NULL.
  • UIA_GridItemRowPropertyId (30064)
    Identifies the Row property of the GridItem control pattern. This property is the ordinal number of the row that contains the cell or item.
    The Row property has a variant type of VT_I4; the default value is 0.
  • UIA_GridItemRowSpanPropertyId (30066)
    Identifies the RowSpan property of the GridItem control pattern. This property indicates the number of rows spanned by the cell or item.
    The RowSpan property has a variant type of VT_I4; the default value is 1.
  • UIA_GridRowCountPropertyId (30062)
    Identifies the RowCount property of the Grid control pattern. This property indicates the total number of rows in the grid.
    The RowCount property has a variant type of VT_I4; the default value is 0.
  • UIA_LegacyIAccessibleChildIdPropertyId (30091)
    Identifies the ChildId property of the LegacyIAccessible control pattern. This property is the Microsoft Active Accessibility (MSAA) child identifier of the automation element.
    The ChildId property has a variant type of VT_I4; the default value is 0.
  • UIA_LegacyIAccessibleDefaultActionPropertyId (30100)
    Identifies the DefaultAction property of the LegacyIAccessible control pattern. This property is the MSAA default action (accDefaultAction) for the automation element.
    The DefaultAction property has a variant type of VT_BSTR; the default value is an empty string.
  • UIA_LegacyIAccessibleDescriptionPropertyId (30094)
    Identifies the Description property of the LegacyIAccessible control pattern. This property is the MSAA description (accDescription) for the automation element.
    The Description property has a variant type of VT_BSTR; the default value is an empty string.
  • UIA_LegacyIAccessibleHelpPropertyId (30097)
    Identifies the Help property of the LegacyIAccessible control pattern. This property is the MSAA help string (accHelp) for the automation element.
    The Help property has a variant type of VT_BSTR; the default value is an empty string.
  • UIA_LegacyIAccessibleKeyboardShortcutPropertyId (30098)
    Identifies the KeyboardShortcut property of the LegacyIAccessible control pattern. This property is the MSAA keyboard shortcut string (accKeyboardShortcut) for the automation element.
    The KeyboardShortcut property has a variant type of VT_BSTR; the default value is an empty string.
  • UIA_LegacyIAccessibleNamePropertyId (30092)
    Identifies the Name property of the LegacyIAccessible control pattern. This property is the MSAA name string (accName) for the automation element.
    The Name property has a variant type of VT_BSTR; the default value is an empty string.
  • UIA_LegacyIAccessibleRolePropertyId (30095)
    Identifies the Role property of the LegacyIAccessible control pattern. This property is the MSAA role identifier (accRole) for the automation element.
    The Role property has a variant type of VT_I4; the default value is 0.
  • UIA_LegacyIAccessibleSelectionPropertyId (30099)
    Identifies the Selection property of the LegacyIAccessible control pattern. This property is the MSAA list of selected items (accSelection) in the control represented by the automation element.
    The Selection property has a variant type of VT_UNKNOWN|VT_ARRAY; the default value is an empty array.
  • UIA_LegacyIAccessibleStatePropertyId (30096)
    Identifies the State property of the LegacyIAccessible control pattern. This property is the MSAA state (accState) of the automation element.
    The State property has a variant type of VT_I4; the default value is 0.
  • UIA_LegacyIAccessibleValuePropertyId (30093)
    Identifies the Value property of the LegacyIAccessible control pattern. This property is the MSAA value (accValue) of the automation element.
    The Value property has a variant type of VT_BSTR; the default value is an empty string.
  • UIA_MultipleViewCurrentViewPropertyId (30071)
    Identifies the CurrentView property of the MultipleView control pattern. This property indicates the current view state of the automation element.
    The CurrentView property has a variant type of VT_I4; the default value is 0.
  • UIA_MultipleViewSupportedViewsPropertyId (30072)
    Identifies the SupportedViews property of the MultipleView control pattern. This property is a list of identifiers for the view states supported by the automation element.
    The SupportedViews property has a variant type of VT_I4 | VT_ARRAY; the default value is an empty array.
  • UIA_RangeValueIsReadOnlyPropertyId (30048)
    Identifies the IsReadOnly property of the RangeValue control pattern. This property indicates whether the value of the automation element is read-only.
    The IsReadOnly property has a variant type of VT_BOOL; the default value is TRUE.
  • UIA_RangeValueLargeChangePropertyId (30051)
    Identifies the LargeChange property of the RangeValue control pattern. This property is the large-change value, unique to the automation element, that is added to or subtracted from the Value property.
    The LargeChange property has a variant type of VT_R8; the default value is 0.
  • UIA_RangeValueMaximumPropertyId (30050)
    Identifies the Maximum property of the RangeValue control pattern. This property is the maximum range value supported by the automation element.
    The Maximum property has a variant type of VT_R8; the default value is 0.
  • UIA_RangeValueMinimumPropertyId (30049)
    Identifies the Minimum property of the RangeValue control pattern. This property is the minimum range value supported by the automation element.
    The Minimum property has a variant type of VT_R8; the default value is 0.
  • UIA_RangeValueSmallChangePropertyId (30052)
    Identifies the SmallChange property of the RangeValue control pattern. This property is the small-change value, unique to the automation element, that is added to or subtracted from the Value property.
    The SmallChange property has a variant type of VT_R8; the default value is 0.
  • UIA_RangeValueValuePropertyId (30047)
    Identifies the Value property of the RangeValue control pattern. This property is the current value of the automation element.
    The Value property has a variant type of VT_R8; the default value is 0.
  • UIA_ScrollHorizontallyScrollablePropertyId (30057)
    Identifies the HorizontallyScrollable property of the Scroll control pattern. This property indicates whether the automation element can scroll horizontally.
    The HorizontallyScrollable property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_ScrollHorizontalScrollPercentPropertyId (30053)
    Identifies the HorizontalScrollPercent property of the Scroll control pattern. This property is the current horizontal scroll position expressed as a percentage of the total content area within the automation element.
    The HorizontalScrollPercent property has a variant type of VT_R8; the default value is 0.
  • UIA_ScrollHorizontalViewSizePropertyId (30054)
    Identifies the HorizontalViewSize property of the Scroll control pattern. This property is the horizontal size of the viewable region expressed as a percentage of the total content area within the element.
    The HorizontalViewSize property has a variant type of VT_R8; the default value is 100.
  • UIA_ScrollVerticallyScrollablePropertyId (30058)
    Identifies the VerticallyScrollable property of the Scroll control pattern. This property indicates whether the automation element can scroll vertically.
    The VerticallyScrollable property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_ScrollVerticalScrollPercentPropertyId (30055)
    Identifies the VerticalScrollPercent property of the Scroll control pattern. This property is the current vertical scroll position expressed as a percentage of the total content area within the automation element.
    The VerticalScrollPercent property has a variant type of VT_R8; the default value is 0.
  • UIA_ScrollVerticalViewSizePropertyId (30056)
    Identifies the VerticalViewSize property of the Scroll control pattern. This property is the vertical size of the viewable region expressed as a percentage of the total content area within the element.
    The VerticalViewSize property has a variant type of VT_R8; the default value is 100.
  • UIA_SelectionCanSelectMultiplePropertyId (30060)
    Identifies the CanSelectMultiple property of the Selection control pattern. This property indicates whether the automation element allows more than one child element to be selected concurrently.
    The CanSelectMultiple property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_SelectionIsSelectionRequiredPropertyId (30061)
    Identifies the IsSelectionRequired property of the Selection control pattern. This property indicates whether the automation element requires at least one child item to be selected.
    The IsSelectionRequired property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_SelectionSelectionPropertyId (30059)
    Identifies the Selection property of the Selection control pattern. This property is a collection of the selected child elements, and is expressed as an IUIAutomationElementArray pointer.
    The Selection property has a variant type of VT_UNKNOWN | VT_ARRAY; the default value is an empty array.
  • UIA_SelectionItemIsSelectedPropertyId (30079)
    Identifies the IsSelected property of the SelectionItem control pattern. This property indicates whether the automation element is selected.
    The IsSelected property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_SelectionItemSelectionContainerPropertyId (30080)
    Identifies the SelectionContainer property of the SelectionItem control pattern. This property is the IUIAutomationElement interface pointer for the automation element that contains the current element
    The SelectionContainer property has a variant type of VT_IUNKNOWN; the default value is NULL.
  • UIA_TableColumnHeadersPropertyId (30082)
    Identifies the ColumnHeaders property of the Table control pattern. This property is a collection of automation elements for all column headers in the table, and is expressed as an IUIAutomationElementArray interface pointer.
    The ColumnHeaders property has a variant type of VT_UNKNOWN | VT_ARRAY; the default value is an empty array.
  • UIA_TableItemColumnHeaderItemsPropertyId (30085)
    Identifies the ColumnHeaderItems property of the TableItem control pattern. This property is a collection of automation elements for all column headers in the table item or cell, and is expressed as an IUIAutomationElementArray interface pointer.
    The ColumnHeaderItems property has a variant type of VT_UNKNOWN | VT_ARRAY; the default value is an empty array.
  • UIA_TableRowHeadersPropertyId (30081)
    Identifies the RowHeaders property of the Table control pattern. This property is a collection of automation elements for all row headers in the table, and is expressed as an IUIAutomationElementArray interface pointer.
    The RowHeaders property has a variant type of VT_UNKNOWN | VT_ARRAY; the default value is an empty array.
  • UIA_TableRowOrColumnMajorPropertyId (30083)
    Identifies the RowOrColumnMajor property of the Table control pattern. This property indicates the primary direction of traversal for the table, and is expressed as a value from the RowOrColumnMajor enumerated type.
    The RowOrColumnMajor property has a variant type of VT_I4 | VT_ARRAY; the default value is RowOrColumnMajor_Indeterminate.
  • UIA_TableItemRowHeaderItemsPropertyId (30084)
    Identifies the RowHeaderItems property of the TableItem control pattern. This property is a collection of automation elements for all row headers in the table item or cell, and is expressed as an IUIAutomationElementArray interface pointer.
    The RowHeaderItems property has a variant type of VT_UNKNOWN | VT_ARRAY; the default value is an empty array.
  • UIA_ToggleToggleStatePropertyId (30086)
    Identifies the ToggleState property of the Toggle control pattern. This property indicates the toggle state of the automation element, and is expressed as a value from the ToggleState enumerated type.
    The ToggleState property has a variant type of VT_I4; the default value is ToggleState_Indeterminate.
  • UIA_TransformCanMovePropertyId (30087)
    Identifies the CanMove property of the Transform control pattern. This property indicates whether the automation element can be moved.
    The CanMove property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_TransformCanResizePropertyId (30088)
    Identifies the CanResize property of the Transform control pattern. This property indicates whether the automation element can be resized.
    The CanResize property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_TransformCanRotatePropertyId (30089)
    Identifies the CanRotate property of the Transform control pattern. This property indicates whether the automation element can be rotated.
    The CanRotate property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_ValueIsReadOnlyPropertyId (30046)
    Identifies the IsReadOnly property of the Value control pattern. This property indicates whether the value of the automation element is read-only.
    The IsReadOnly property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_ValueValuePropertyId (30045)
    Identifies the Value property of the Value control pattern. This property indicates the value of the automation element.
    The Value property has a variant type of VT_BSTR; the default value is an empty string.
  • UIA_WindowCanMaximizePropertyId (30073)
    Identifies the CanMaximize property of the Window control pattern. This property indicates whether the window can be maximized.
    The CanMaximize property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_WindowCanMinimizePropertyId (30074)
    Identifies the CanMinimize property of the Window control pattern. This property indicates whether the window can be minimized.
    The CanMinimize property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_WindowIsModalPropertyId (30077)
    Identifies the IsModal property of the Window control pattern. This property indicates whether the window is modal.
    The IsModal property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_WindowIsTopmostPropertyId (30078)
    Identifies the IsModal property of the Window control pattern. This property indicates whether the window is the topmost element in the z-order.
    The IsTopmost property has a variant type of VT_BOOL; the default value is FALSE.
  • UIA_WindowWindowInteractionStatePropertyId (30076)
    Identifies the WindowInteractionState property of the Window control pattern. This property indicates the state of the window for the purposes of user interaction, and is expressed as a value from the WindowInteractionState enumerated type.
    The WindowInteractionState property has a variant type of VT_I4; the default value is WindowInteractionState_Running.
  • UIA_WindowWindowVisualStatePropertyId (30075)
    Identifies the WindowVisualState property of the Window control pattern. This property indicates the visual state of the window, and is expressed as a value from the WindowVisualState enumerated type.
    The WindowVisualState property has a variant type of VT_I4; the default value is WindowInteractionState_WindowVisualState_Normal.

See Also

UI Automation Properties Overview, UI Automation Properties for Clients, UI Automation Control Patterns Overview