Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Pane Control Type

This topic provides information about Microsoft UI Automation support for the Pane control type.

The Pane control type is used to represent an object within a frame or document window. Users can navigate between pane controls and within the contents of the current pane, but cannot navigate between items in different panes. Thus, pane controls represent a level of grouping lower than windows or documents, but above individual controls. The user navigates between panes by pressing TAB, F6, or CTRL+TAB, depending on the context.

The following sections define the required UI Automation tree structure, properties, control patterns, and events for the Pane control type. The UI Automation requirements apply to all pane controls where the UI framework/platform integrates UI Automation support for control types and control patterns.

This topic contains the following sections.

Typical Tree Structure

The following table depicts a typical control and content view of the UI Automation tree that pertains to pane controls and describes what can be contained in each view. For more information about the UI Automation tree, see UI Automation Tree Overview.

Control ViewContent View
  • Pane
  • Pane

 

A pane control always appears in the control and content views. Do not expose a layout object as a pane in either the control or content view if the object is used only for visual presentation.

Relevant Properties

The following table lists the UI Automation properties whose value or definition is especially relevant to pane controls. For more information about UI Automation properties, see Retrieving Properties from UI Automation Elements.

UI Automation PropertyValueNotes
UIA_AccessKeyPropertyIdSee notes.If a specific key combination gives focus to the pane, that information should be exposed through this property.
UIA_AutomationIdPropertyIdSee notes.The value of this property must be unique among all peer elements in the raw view of the UI Automation tree.
UIA_BoundingRectanglePropertyIdSee notes.The outermost rectangle that contains the whole control.
UIA_ClickablePointPropertyIdSee notes.This property exposes a clickable point of the pane control that causes the pane to become focused when it is clicked.
UIA_ControlTypePropertyIdPane
UIA_HelpTextPropertyIdSee notes.The help text for pane controls should explain the purpose of the frame and how it relates to other frames. A description is necessary if the purpose and relationship of the frames is not clear from the value of the UIA_NamePropertyId property.
UIA_IsContentElementPropertyIdTRUEThe pane control is always included in the content view of the UI Automation tree.
UIA_IsControlElementPropertyIdTRUEThe pane control is always included in the control view of the UI Automation tree.
UIA_IsKeyboardFocusablePropertyIdSee notes.If the control can receive keyboard focus, it must support this property.
UIA_LabeledByPropertyIdSee notes.Pane controls typically do not have a static label. If there is a static text label, it should be exposed through this property.
UIA_LocalizedControlTypePropertyIdSee notes.Localized string corresponding to the Pane control type. The default value is "pane" for en-US or English (United States).
UIA_NamePropertyIdSee notes.The value for this property must always be a clear, concise and meaningful title.

 

Required Control Patterns

The following table lists the UI Automation control patterns required to be supported by pane controls. For more information on control patterns, see UI Automation Control Patterns Overview.

Control PatternSupportNotes
IDockProvider DependsImplement the Dock control pattern if the pane control can be docked.
IScrollProvider DependsImplement the Scroll control pattern if the pane control can be scrolled.
ITransformProvider DependsImplement the Transform control pattern if the pane control can be moved, resized, or rotated on the screen.
IWindowProvider NeverIf the element needs to implement the Window control pattern, the control should be based on the Window control type.

 

Required Events

The following table lists the UI Automation events that pane controls are required to support. For more information on events, see UI Automation Events Overview.

UI Automation EventNotes
UIA_AsyncContentLoadedEventId
UIA_AutomationFocusChangedEventId
UIA_BoundingRectanglePropertyId property-changed event.
UIA_IsOffscreenPropertyId property-changed event.If the control supports the IsOffscreen property, it must support this event.
UIA_ScrollHorizontallyScrollablePropertyId property-changed event.If the control supports the Scroll control pattern, it must support this event.
UIA_ScrollHorizontalScrollPercentPropertyId property-changed event.If the control supports the Scroll control pattern, it must support this event.
UIA_ScrollHorizontalViewSizePropertyId property-changed event.If the control supports the Scroll control pattern, it must support this event.
UIA_ScrollVerticallyScrollablePropertyId property-changed event.If the control supports the Scroll control pattern, it must support this event.
UIA_ScrollVerticalScrollPercentPropertyId property-changed event.If the control supports the Scroll control pattern, it must support this event.
UIA_ScrollVerticalViewSizePropertyId property-changed event.If the control supports the Scroll control pattern, it must support this event.
UIA_StructureChangedEventId

 

Pane Control Type Example

The following image illustrates a control that implements the Pane control type.

Screen shot showing example of a Pane control

UI Automation Tree—Control ViewUI Automation Tree—Content View
  • Pane
    • Tree (Scroll Pattern)
      • TreeItem
      • ...
  • Pane
    • Edit (Scroll Pattern)
  • Pane
    • Tree (Scroll Pattern)
      • TreeItem
      • ...
    • Pane
      • Edit (Scroll Pattern)

 

Related topics

Conceptual
UI Automation Control Types Overview
UI Automation Overview

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.