UI Automation Support for the Pane Control Type
Observação
Esta documentação destina.Os desenvolvedores do NET Framework que desejam usar o gerenciado UI Automation classes definidas na System.Windows.Automation namespace.As informações mais recentes sobre UI Automation, consulte API de automação do Windows: Automação da interface do usuário.
Este tópico fornece informações sobre UI Automation suporte para o painel de o tipo de controle. In UI Automation, a control type is a set of conditions that a control must meet in order to use the ControlTypeProperty property. As condições incluem as diretrizes específicas para UI Automation estrutura de árvore, UI Automation os valores de propriedade e padrões de controle.
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. O tipo de painel de controle não é necessária nenhuma navegação de teclado específicas.
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 list controls, whether Windows Presentation Foundation (WPF), Win32, or Windows Forms.
Este tópico contém as seguintes seções.
- Required UI Automation Tree Structure
- Required UI Automation Properties
- Required UI Automation Control Patterns
- Required UI Automation Events
- Pane Control Type Example
- Tópicos relacionados
Required UI Automation Tree Structure
The following table depicts the control view and the content view of the UI Automation tree that pertains to pane controls and describes what can be contained in each view. For more information on the UI Automation tree, see Visão geral da árvore de automação de interface do usuário.
Control View |
Content View |
---|---|
Pane |
Pane |
Required UI Automation Properties
The following table lists the UI Automation properties whose value or definition is especially relevant to pane controls. For more information on UI Automation properties, see UI Automation Properties for Clients.
UI Automation Property |
Value |
Notes |
---|---|---|
See notes. |
The value of this property needs to be unique across all controls in an application. |
|
See notes. |
The outermost rectangle that contains the whole control. |
|
See notes. |
If the control can receive keyboard focus, it must support this property. |
|
See notes. |
The value for this property must always be a clear, concise and meaningful title. |
|
See notes. |
This property exposes a clickable point of the pane control that causes the pane to become focused when it is clicked. |
|
See notes. |
Pane controls typically do not have a static label. If there is a static text label, it should be exposed through this property. |
|
Pane |
This value is the same for all UI frameworks. |
|
"pane" |
Localized string corresponding to the Pane control type. |
|
True |
Pane controls are always included in the content view of the UI Automation tree. |
|
True |
Pane controls are always included in the control view of the UI Automation tree. |
|
"" |
The help text for pane controls should explain why the purpose of the frame and how it relates to other frames. A description is necessary if the purpose and relationship of frames is not clear from the value of the NameProperty. " |
|
See notes. |
If a specific key combination gives focus to the pane then that information should be exposed through this property. |
Required UI Automation Control Patterns
The following table lists the UI Automation control patterns required to be supported by all pane controls. For more information on control patterns, see Visão Geral de Padrões de Controle de Automação de Interface de Usuário.
Padrão de controle |
Support |
Notes |
---|---|---|
Depends |
Implement this control pattern if the pane control can be moved, resized, or rotated on the screen. |
|
Never |
If you need to implement this control pattern, your control should be based on the Window control type. |
|
Depends |
Implement this control pattern if the pane control can be docked. |
|
Depends |
Implemente esse padrão de controle se o controle do painel pode ser rolado. |
Required UI Automation Events
The following table lists the UI Automation events required to be supported by all pane controls. For more information on events, see Visão geral sobre eventos de automação de interface do usuário.
UI Automation Event |
Support/Value |
Notes |
---|---|---|
Never |
None |
|
Never |
None |
|
Required |
None |
|
BoundingRectangleProperty property-changed event. |
Required |
None |
IsOffscreenProperty property-changed event. |
Required |
None |
IsEnabledProperty property-changed event. |
Required |
None |
HorizontallyScrollableProperty property-changed event. |
Depends |
None |
HorizontalScrollPercentProperty property-changed event. |
Depends |
None |
HorizontalViewSizeProperty property-changed event. |
Depends |
None |
VerticalScrollPercentProperty property-changed event. |
Depends |
None |
VerticallyScrollableProperty property-changed event. |
Depends |
None |
VerticalViewSizeProperty property-changed event. |
Depends |
None |
WindowVisualStateProperty property-changed event. |
Never |
None |
Required |
None |
|
Required |
None |
Pane Control Type Example
The following image illustrates a control that implements the Pane control type.
UI Automation Tree - Control View |
UI Automation Tree - Content View |
---|---|
|
|
Consulte também
Referência
Conceitos
Visão Geral dos Tipos de Controle de Automação de Interface do Usuário