SeparatorAutomationPeer 类

定义

向 UI 自动化公开 Separator 类型。Exposes Separator types to UI Automation.

public ref class SeparatorAutomationPeer : System::Windows::Automation::Peers::FrameworkElementAutomationPeer
public class SeparatorAutomationPeer : System.Windows.Automation.Peers.FrameworkElementAutomationPeer
type SeparatorAutomationPeer = class
    inherit FrameworkElementAutomationPeer
Public Class SeparatorAutomationPeer
Inherits FrameworkElementAutomationPeer
继承
派生

构造函数

SeparatorAutomationPeer(Separator)

初始化 SeparatorAutomationPeer 类的新实例。Initializes a new instance of the SeparatorAutomationPeer class.

属性

Dispatcher

获取与此 Dispatcher 关联的 DispatcherObjectGets the Dispatcher this DispatcherObject is associated with.

(继承自 DispatcherObject)
EventsSource

获取或设置一个 AutomationPeer,它作为来自此 AutomationPeer 的所有事件的源报告给自动化客户端。Gets or sets an AutomationPeer that is reported to the automation client as a source for all the events that come from this AutomationPeer.

(继承自 AutomationPeer)
IsHwndHost

获取一个值,该值指示与此 AutomationPeer 关联的元素是否承载 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 中的 hwndsGets a value that indicates whether the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF).

(继承自 AutomationPeer)
Owner

获取与此 UIElementAutomationPeer 关联的 UIElementGets the UIElement that is associated with this UIElementAutomationPeer.

(继承自 UIElementAutomationPeer)

方法

CheckAccess()

确定调用线程是否可以访问此 DispatcherObjectDetermines whether the calling thread has access to this DispatcherObject.

(继承自 DispatcherObject)
Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetAcceleratorKey()

获取与 UI 自动化UI Automation 对等方关联的元素的加速键组合。Gets the accelerator key combinations for the element that is associated with the UI 自动化UI Automation peer.

(继承自 AutomationPeer)
GetAcceleratorKeyCore()

获取 UIElement 中与此 UIElementAutomationPeer 相关的快捷键。Gets the accelerator key for the UIElement that is associated with this UIElementAutomationPeer. 此方法由 GetAcceleratorKey() 调用。This method is called by GetAcceleratorKey().

(继承自 UIElementAutomationPeer)
GetAccessKey()

获取与自动化对等关联的元素的访问密钥。Gets the access key for the element that is associated with the automation peer.

(继承自 AutomationPeer)
GetAccessKeyCore()

获取与此 UIElementAutomationPeer 关联的 UIElement 的访问键。此方法由 GetAccessKey() 调用。Gets the access key for the UIElement that is associated with this UIElementAutomationPeer.This method is called by GetAccessKey().

(继承自 UIElementAutomationPeer)
GetAutomationControlType()

获取与此对等 UI 自动化UI Automation 关联的元素的控件类型。Gets the control type for the element that is associated with the UI 自动化UI Automation peer.

(继承自 AutomationPeer)
GetAutomationControlTypeCore()

获取与此 SeparatorAutomationPeer 关联的 Separator 的控件类型。Gets the control type for the Separator that is associated with this SeparatorAutomationPeer. GetAutomationControlType() 调用。Called by GetAutomationControlType().

GetAutomationId()

获取与自动化同级关联的元素的 AutomationIdGets the AutomationId of the element that is associated with the automation peer.

(继承自 AutomationPeer)
GetAutomationIdCore()

获取唯一标识与此 FrameworkElementAutomationPeer 关联的 FrameworkElement 的字符串。Gets the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer. GetAutomationId() 调用。Called by GetAutomationId().

(继承自 FrameworkElementAutomationPeer)
GetBoundingRectangle()

获取表示与自动化同级关联的元素的屏幕坐标的 Rect 对象。Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.

(继承自 AutomationPeer)
GetBoundingRectangleCore()

获取 Rect,它表示与此 UIElementAutomationPeer 相关联的 UIElement 的绑定矩形。Gets the Rect that represents the bounding rectangle of the UIElement that is associated with this UIElementAutomationPeer. 此方法由 GetBoundingRectangle() 调用。This method is called by GetBoundingRectangle().

(继承自 UIElementAutomationPeer)
GetChildren()

获取在 UI 自动化树中表示为自动化对等方的直接子元素的 GetChildren() 元素的集合。Gets the collection of GetChildren() elements that are represented in the UI Automation tree as immediate child elements of the automation peer.

(继承自 AutomationPeer)
GetChildrenCore()

获取与此 UIElementAutomationPeer 相关联的 UIElement 的子元素的集合。Gets the collection of child elements of the UIElement that is associated with this UIElementAutomationPeer. 此方法由 GetChildren() 调用。This method is called by GetChildren().

(继承自 UIElementAutomationPeer)
GetClassName()

获取与 AutomationControlType 一起使用的名称,以区分由此 AutomationPeer 表示的控件。Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.

(继承自 AutomationPeer)
GetClassNameCore()

获取与此 SeparatorAutomationPeer 关联的 Separator 的名称。Gets the name of the Separator that is associated with this SeparatorAutomationPeer. GetClassName() 调用。Called by GetClassName().

GetClickablePoint()

获取与自动化同级相关联的元素上响应鼠标单击的 PointGets a Point on the element that is associated with the automation peer that responds to a mouse click.

(继承自 AutomationPeer)
GetClickablePointCore()

获取表示位于与此 UIElementAutomationPeer 关联的 UIElement 上的可点击空间的 PointGets a Point that represents the clickable space that is on the UIElement that is associated with this UIElementAutomationPeer. 此方法由 GetClickablePoint() 调用。This method is called by GetClickablePoint().

(继承自 UIElementAutomationPeer)
GetControlledPeers()

为 UI 自动化提供受此 AutomationPeer 影响或控制的元素列表。Provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

(继承自 AutomationPeer)
GetControlledPeersCore()

在派生类中替代时,为 UI 自动化提供受此 AutomationPeer 影响或控制的元素列表。When overridden in a derived class, provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

(继承自 AutomationPeer)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetHelpText()

获取描述与自动化同级关联的控件的功能的文本。Gets text that describes the functionality of the control that is associated with the automation peer.

(继承自 AutomationPeer)
GetHelpTextCore()

获取用于描述与此 ContentElementAutomationPeer 关联的 ContentElement 的功能的字符串。Gets the string that describes the functionality of the ContentElement that is associated with this ContentElementAutomationPeer. GetHelpText() 调用。Called by GetHelpText().

(继承自 FrameworkElementAutomationPeer)
GetHostRawElementProviderCore()

告知 UI 自动化UI AutomationUI 自动化UI Automation 树中何处放置由 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 元素托管的 hwndTells UI 自动化UI Automation where in the UI 自动化UI Automation tree to place the hwnd being hosted by a Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) element.

(继承自 AutomationPeer)
GetItemStatus()

获取可传达与此自动化同级关联的元素的可视状态的文本。Gets text that conveys the visual status of the element that is associated with this automation peer.

(继承自 AutomationPeer)
GetItemStatusCore()

获取传送与此 UIElement 关联的 UIElementAutomationPeer 的可视状态的字符串。Gets a string that communicates the visual status of the UIElement that is associated with this UIElementAutomationPeer. 此方法由 GetItemStatus() 调用。This method is called by GetItemStatus().

(继承自 UIElementAutomationPeer)
GetItemType()

获取一个字符串,它描述对象表示何种类型的项。Gets a string that describes what kind of item an object represents.

(继承自 AutomationPeer)
GetItemTypeCore()

获取包含此 UIElementUIElementAutomationPeer 表示的项类型的可读字符串。Gets a human-readable string that contains the item type that the UIElement for this UIElementAutomationPeer represents. 此方法由 GetItemType() 调用。This method is called by GetItemType().

(继承自 UIElementAutomationPeer)
GetLabeledBy()

获取以元素为目标的 LabelAutomationPeerGets the AutomationPeer for the Label that is targeted to the element.

(继承自 AutomationPeer)
GetLabeledByCore()

Label 标签获取 AutomationPeer,此标签用于与 ContentElementAutomationPeer 关联的 ContentElementGets the AutomationPeer for the Label that is targeted to the ContentElement that is associated with this ContentElementAutomationPeer. GetLabeledBy() 调用。Called by GetLabeledBy().

(继承自 FrameworkElementAutomationPeer)
GetLiveSetting()

获取与此自动化对等关联的活动区域的通知特征。Gets the notification characteristics of a live region that is associated with this automation peer.

(继承自 AutomationPeer)
GetLiveSettingCore()

获取与此 UIElementAutomationPeer 关联的 UIElement 对象的活动区域的通知特征。Gets the notification characteristics of the live region of the UIElement object that is associated with this UIElementAutomationPeer. 此方法由 GetLiveSetting() 调用。This method is called by GetLiveSetting().

(继承自 UIElementAutomationPeer)
GetLocalizedControlType()

获取一个可读的本地化字符串,该字符串表示与此自动化对等方关联的控件的 AutomationControlType 值。Gets a human-readable localized string that represents the AutomationControlType value for the control that is associated with this automation peer.

(继承自 AutomationPeer)
GetLocalizedControlTypeCore()

在派生类中重写时,由 GetLocalizedControlType() 调用。When overridden in a derived class, is called by GetLocalizedControlType().

(继承自 AutomationPeer)
GetName()

获取描述与此自动化同级关联的元素的文本。Gets text that describes the element that is associated with this automation peer.

(继承自 AutomationPeer)
GetNameCore()

获取与此 ContentElementAutomationPeer 关联的 ContentElement 的文本标签。Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. GetName() 调用。Called by GetName().

(继承自 FrameworkElementAutomationPeer)
GetOrientation()

获取指示显式控件方向(如果有)的值。Gets a value that indicates the explicit control orientation, if any.

(继承自 AutomationPeer)
GetOrientationCore()

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否按特定方向进行布局。Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is laid out in a specific direction. 此方法由 GetOrientation() 调用。This method is called by GetOrientation().

(继承自 UIElementAutomationPeer)
GetParent()

获取作为此 AutomationPeer 的父级的 AutomationPeerGets the AutomationPeer that is the parent of this AutomationPeer.

(继承自 AutomationPeer)
GetPattern(PatternInterface)

获取与此 UIElementAutomationPeer 关联的 UIElement 的控件模式。Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.

(继承自 UIElementAutomationPeer)
GetPeerFromPoint(Point)

从指定的点获取 AutomationPeerGets an AutomationPeer from the specified point.

(继承自 AutomationPeer)
GetPeerFromPointCore(Point)

当在派生类中重写时,将由 GetPeerFromPoint(Point) 调用。When overridden in a derived class, is called from GetPeerFromPoint(Point).

(继承自 AutomationPeer)
GetPositionInSet()

尝试获取 PositionInSet 属性的值。Attempts to get the value of the PositionInSet property.

(继承自 AutomationPeer)
GetPositionInSetCore()

读取 PositionInSetProperty 并返回 PositionInSet 附加属性的值Reads PositionInSetProperty and returns the value of the PositionInSet attached property.

(继承自 UIElementAutomationPeer)
GetSizeOfSet()

尝试获取 SizeOfSet 属性的值。Attempts to get the value of the SizeOfSet property.

(继承自 AutomationPeer)
GetSizeOfSetCore()

提供 UI 自动化的 SizeOfSet 属性的值。Provides a value for UI Automation's SizeOfSet property.

(继承自 UIElementAutomationPeer)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
HasKeyboardFocus()

获取一个值,该值指示与此自动化同级关联的元素当前是否具有键盘焦点。Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.

(继承自 AutomationPeer)
HasKeyboardFocusCore()

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 当前是否具有键盘输入点。Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer currently has keyboard input focus. 此方法由 HasKeyboardFocus() 调用。This method is called by HasKeyboardFocus().

(继承自 UIElementAutomationPeer)
InvalidatePeer()

触发对 AutomationPeer 主要属性的重新计算,如果属性已更改,则引发对自动化客户端的 PropertyChanged 通知。Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the Automation Client if the properties changed.

(继承自 AutomationPeer)
IsContentElement()

获取一个值,该值指示与此自动化对等方关联的元素是否包含向用户显示的数据。Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user.

(继承自 AutomationPeer)
IsContentElementCore()

获取一个值,该值指示与此自动化对等方关联的元素是否包含向用户显示的数据。Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user. 此方法由 IsContentElement() 调用。This method is called by IsContentElement().

IsControlElement()

获取一个值,该值指示用户将元素理解为交互元素,还是理解为组成 GUIGUI 中控件的逻辑结构的一部分。Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUIGUI.

(继承自 AutomationPeer)
IsControlElementCore()

获取或设置一个值,该值指示与此 UIElement 关联的 UIElementAutomationPeer 是否被最终用户理解为交互式元素。Gets or sets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is understood by the end user as interactive. 此外,用户可能将 UIElement 理解为组成 GUIGUI 中控件的逻辑结构的一部分。Optionally, the user might understand the UIElement as contributing to the logical structure of the control in the GUIGUI. 此方法由 IsControlElement() 调用。This method is called by IsControlElement().

(继承自 UIElementAutomationPeer)
IsEnabled()

获取一个值,该值指示与此自动化同级关联的元素是否支持交互。Gets a value that indicates whether the element associated with this automation peer supports interaction.

(继承自 AutomationPeer)
IsEnabledCore()

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否接受键盘点。Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer can accept keyboard focus. 此方法由 IsKeyboardFocusable() 调用。This method is called by IsKeyboardFocusable().

(继承自 UIElementAutomationPeer)
IsKeyboardFocusable()

获取一个值,该值指示此元素是否可以接受键盘焦点。Gets a value that indicates whether the element can accept keyboard focus.

(继承自 AutomationPeer)
IsKeyboardFocusableCore()

获取一个值,该值指示与此 UIElement 关联的 UIElementAutomationPeer 是否可以接受键盘焦点。Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer can accept keyboard focus. 此方法由 IsKeyboardFocusable() 调用。This method is called by IsKeyboardFocusable().

(继承自 UIElementAutomationPeer)
IsOffscreen()

获取一个值,该值指示元素是否不在屏幕上。Gets a value that indicates whether an element is off the screen.

(继承自 AutomationPeer)
IsOffscreenCore()

获取一个值,该值指示与此 UIElement 关联的 UIElementAutomationPeer 是否不在屏幕上。Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is off the screen. 此方法由 IsOffscreen() 调用。This method is called by IsOffscreen().

(继承自 UIElementAutomationPeer)
IsPassword()

获取一个值,该值指示元素是否包含敏感内容。Gets a value that indicates whether the element contains sensitive content.

(继承自 AutomationPeer)
IsPasswordCore()

获取一个值,该值指示与此 UIElementAutomationPeer 相关联的 UIElement 是否包含受保护内容。Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer contains protected content. 此方法由 IsPassword() 调用。This method is called by IsPassword().

(继承自 UIElementAutomationPeer)
IsRequiredForForm()

获取一个值,该值指示是否必须在窗体中完成与此同级关联的元素。Gets a value that indicates whether the element that is associated with this peer must be completed on a form.

(继承自 AutomationPeer)
IsRequiredForFormCore()

获取一个值,该值指示是否需要在表当上填写与此 UIElement 关联的 UIElementAutomationPeerGets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is required to be completed on a form. 此方法由 IsRequiredForForm() 调用。This method is called by IsRequiredForForm().

(继承自 UIElementAutomationPeer)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
PeerFromProvider(IRawElementProviderSimple)

获取指定的 AutomationPeer 代理的 IRawElementProviderSimpleGets an AutomationPeer for the specified IRawElementProviderSimple proxy.

(继承自 AutomationPeer)
ProviderFromPeer(AutomationPeer)

获取指定的 IRawElementProviderSimpleAutomationPeerGets the IRawElementProviderSimple for the specified AutomationPeer.

(继承自 AutomationPeer)
RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs)

AutomationPeer 调用以引发 AsyncContentLoadedEvent 事件。Called by the AutomationPeer to raise the AsyncContentLoadedEvent event.

(继承自 AutomationPeer)
RaiseAutomationEvent(AutomationEvents)

引发自动化事件。Raises an automation event.

(继承自 AutomationPeer)
RaisePropertyChangedEvent(AutomationProperty, Object, Object)

引发事件以通知自动化客户端已更改的属性值。Raises an event to notify the automation client of a changed property value.

(继承自 AutomationPeer)
ResetChildrenCache()

通过调用 GetChildrenCore() 同步重置子元素树。Synchronously resets the tree of child elements by calling GetChildrenCore().

(继承自 AutomationPeer)
SetFocus()

对与此自动化同级关联的元素设置键盘焦点。Sets the keyboard focus on the element that is associated with this automation peer.

(继承自 AutomationPeer)
SetFocusCore()

对与此 UIElement 关联的 UIElementAutomationPeer 设置键盘输入焦点。Sets the keyboard input focus on the UIElement that is associated with this UIElementAutomationPeer. 此方法由 SetFocus() 调用。This method is called by SetFocus().

(继承自 UIElementAutomationPeer)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)
VerifyAccess()

强制调用线程具有此 DispatcherObject 的访问权限。Enforces that the calling thread has access to this DispatcherObject.

(继承自 DispatcherObject)

适用于

另请参阅