PasswordBoxAutomationPeer 类

定义

向 UI 自动化公开 PasswordBox 类型。

public ref class PasswordBoxAutomationPeer : System::Windows::Automation::Peers::FrameworkElementAutomationPeer, System::Windows::Automation::Provider::IValueProvider
public ref class PasswordBoxAutomationPeer : System::Windows::Automation::Peers::TextAutomationPeer, System::Windows::Automation::Provider::IValueProvider
public class PasswordBoxAutomationPeer : System.Windows.Automation.Peers.FrameworkElementAutomationPeer, System.Windows.Automation.Provider.IValueProvider
public class PasswordBoxAutomationPeer : System.Windows.Automation.Peers.TextAutomationPeer, System.Windows.Automation.Provider.IValueProvider
type PasswordBoxAutomationPeer = class
    inherit FrameworkElementAutomationPeer
    interface IValueProvider
type PasswordBoxAutomationPeer = class
    inherit TextAutomationPeer
    interface IValueProvider
Public Class PasswordBoxAutomationPeer
Inherits FrameworkElementAutomationPeer
Implements IValueProvider
Public Class PasswordBoxAutomationPeer
Inherits TextAutomationPeer
Implements IValueProvider
继承
继承
实现

构造函数

PasswordBoxAutomationPeer(PasswordBox)

初始化 PasswordBoxAutomationPeer 类的新实例。

属性

Dispatcher

获取与此 Dispatcher 关联的 DispatcherObject

(继承自 DispatcherObject)
EventsSource

获取或设置一个 AutomationPeer,它作为来自此 AutomationPeer 的所有事件的源报告给自动化客户端。

(继承自 AutomationPeer)
IsHwndHost

获取一个值,该值指示Windows Presentation Foundation (WPF 中与此AutomationPeer主机hwnds关联的元素是否) 。

(继承自 AutomationPeer)
Owner

获取与此 UIElementAutomationPeer 关联的 UIElement

(继承自 UIElementAutomationPeer)

方法

CheckAccess()

确定调用线程是否可以访问此 DispatcherObject

(继承自 DispatcherObject)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetAcceleratorKey()

获取与 UI 自动化对等关联的元素的快捷键组合。

(继承自 AutomationPeer)
GetAcceleratorKeyCore()

获取与此 UIElementAutomationPeer 关联的 UIElement 的加速键。 此方法由 GetAcceleratorKey() 调用。

(继承自 UIElementAutomationPeer)
GetAccessKey()

获取与自动化对等关联的元素的访问密钥。

(继承自 AutomationPeer)
GetAccessKeyCore()

获取与此 UIElementAutomationPeer 关联的 UIElement 的访问密钥。 此方法由 GetAccessKey() 调用。

(继承自 UIElementAutomationPeer)
GetAutomationControlType()

获取与 UI 自动化对等方关联的元素的控件类型。

(继承自 AutomationPeer)
GetAutomationControlTypeCore()

获取与此 PasswordBox 关联的 PasswordBoxAutomationPeer 的控件类型。 此方法由 GetAutomationControlType() 调用。

GetAutomationId()

获取与自动化同级关联的元素的 AutomationId

(继承自 AutomationPeer)
GetAutomationIdCore()

获取唯一标识与此 FrameworkElementAutomationPeer 关联的 FrameworkElement 的字符串。 由 GetAutomationId() 调用。

(继承自 FrameworkElementAutomationPeer)
GetBoundingRectangle()

获取表示与自动化同级关联的元素的屏幕坐标的 Rect 对象。

(继承自 AutomationPeer)
GetBoundingRectangleCore()

获取 Rect,它表示与此 UIElementAutomationPeer 相关联的 UIElement 的绑定矩形。 此方法由 GetBoundingRectangle() 调用。

(继承自 UIElementAutomationPeer)
GetChildren()

获取在 UI 自动化树中表示为自动化对等方的直接子元素的 GetChildren() 元素的集合。

(继承自 AutomationPeer)
GetChildrenCore()

获取与此 UIElement 关联的 UIElementAutomationPeer 的子元素的集合。 此方法由 GetChildren() 调用。

(继承自 UIElementAutomationPeer)
GetClassName()

获取与 AutomationControlType 一起使用的名称,以区分由此 AutomationPeer 表示的控件。

(继承自 AutomationPeer)
GetClassNameCore()

获取与此 PasswordBox 关联的 PasswordBoxAutomationPeer 的名称。 此方法由 GetClassName() 调用。

GetClickablePoint()

获取与自动化同级相关联的元素上响应鼠标单击的 Point

(继承自 AutomationPeer)
GetClickablePointCore()

获取表示位于与此 UIElementAutomationPeer 关联的 UIElement 上的可点击空间的 Point。 此方法由 GetClickablePoint() 调用。

(继承自 UIElementAutomationPeer)
GetControlledPeers()

为 UI 自动化提供受此 AutomationPeer 影响或控制的元素列表。

(继承自 AutomationPeer)
GetControlledPeersCore()

在派生类中替代时,为 UI 自动化提供受此 AutomationPeer 影响或控制的元素列表。

(继承自 AutomationPeer)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetHeadingLevel()

向 UI 自动化公开 PasswordBox 类型。

(继承自 AutomationPeer)
GetHeadingLevelCore()

向 UI 自动化公开 PasswordBox 类型。

(继承自 UIElementAutomationPeer)
GetHelpText()

获取描述与自动化同级关联的控件的功能的文本。

(继承自 AutomationPeer)
GetHelpTextCore()

获取用于描述与此 ContentElementAutomationPeer 关联的 ContentElement 的功能的字符串。 由 GetHelpText() 调用。

(继承自 FrameworkElementAutomationPeer)
GetHostRawElementProviderCore()

告知 UI 自动化在 UI 自动化树中的何处放置hwnd由 Windows Presentation Foundation (WPF) 元素承载的 。

(继承自 AutomationPeer)
GetItemStatus()

获取可传达与此自动化同级关联的元素的可视状态的文本。

(继承自 AutomationPeer)
GetItemStatusCore()

获取传送与此 UIElement 关联的 UIElementAutomationPeer 的可视状态的字符串。 此方法由 GetItemStatus() 调用。

(继承自 UIElementAutomationPeer)
GetItemType()

获取一个字符串,它描述对象表示何种类型的项。

(继承自 AutomationPeer)
GetItemTypeCore()

获取包含此 UIElementUIElementAutomationPeer 表示的项类型的可读字符串。 此方法由 GetItemType() 调用。

(继承自 UIElementAutomationPeer)
GetLabeledBy()

获取以元素为目标的 LabelAutomationPeer

(继承自 AutomationPeer)
GetLabeledByCore()

Label 标签获取 AutomationPeer,此标签用于与 ContentElementAutomationPeer 关联的 ContentElement。 由 GetLabeledBy() 调用。

(继承自 FrameworkElementAutomationPeer)
GetLiveSetting()

获取与此自动化对等关联的活动区域的通知特征。

(继承自 AutomationPeer)
GetLiveSettingCore()

获取与此 UIElementAutomationPeer 关联的 UIElement 对象的活动区域的通知特征。 此方法由 GetLiveSetting() 调用。

(继承自 UIElementAutomationPeer)
GetLocalizedControlType()

获取一个可读的本地化字符串,该字符串表示与此自动化对等方关联的控件的 AutomationControlType 值。

(继承自 AutomationPeer)
GetLocalizedControlTypeCore()

在派生类中重写时,由 GetLocalizedControlType() 调用。

(继承自 AutomationPeer)
GetName()

获取描述与此自动化同级关联的元素的文本。

(继承自 AutomationPeer)
GetNameCore()

获取与此 ContentElementAutomationPeer 关联的 ContentElement 的文本标签。 由 GetName() 调用。

(继承自 FrameworkElementAutomationPeer)
GetNameCore()

获取与此 TextAutomationPeer 关联的元素的文本标签。 由 GetName() 调用。

(继承自 TextAutomationPeer)
GetOrientation()

获取指示显式控件方向(如果有)的值。

(继承自 AutomationPeer)
GetOrientationCore()

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否按特定方向进行布局。 此方法由 GetOrientation() 调用。

(继承自 UIElementAutomationPeer)
GetParent()

获取作为此 AutomationPeer 的父级的 AutomationPeer

(继承自 AutomationPeer)
GetPattern(PatternInterface)

获取与此 PasswordBoxAutomationPeer 关联的 PasswordBox 的控件模式。

GetPeerFromPoint(Point)

从指定的点获取 AutomationPeer

(继承自 AutomationPeer)
GetPeerFromPointCore(Point)

当在派生类中重写时,将由 GetPeerFromPoint(Point) 调用。

(继承自 AutomationPeer)
GetPositionInSet()

尝试获取 PositionInSet 属性的值。

(继承自 AutomationPeer)
GetPositionInSetCore()

PositionInSetProperty读取并返回附加属性的值PositionInSet

(继承自 UIElementAutomationPeer)
GetSizeOfSet()

尝试获取 SizeOfSet 属性的值。

(继承自 AutomationPeer)
GetSizeOfSetCore()

提供 UI 自动化的 SizeOfSet 属性的值。

(继承自 UIElementAutomationPeer)
GetType()

获取当前实例的 Type

(继承自 Object)
HasKeyboardFocus()

获取一个值,该值指示与此自动化同级关联的元素当前是否具有键盘焦点。

(继承自 AutomationPeer)
HasKeyboardFocusCore()

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 当前是否具有键盘输入点。 此方法由 HasKeyboardFocus() 调用。

(继承自 UIElementAutomationPeer)
InvalidatePeer()

触发对 AutomationPeer 主要属性的重新计算,如果属性已更改,则引发对自动化客户端的 PropertyChanged 通知。

(继承自 AutomationPeer)
IsContentElement()

获取一个值,该值指示与此自动化对等方关联的元素是否包含向用户显示的数据。

(继承自 AutomationPeer)
IsContentElementCore()

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否是一个包含向用户显示的数据的元素。 此方法由 IsContentElement() 调用。

(继承自 UIElementAutomationPeer)
IsControlElement()

获取一个值,该值指示元素是被用户理解为交互式元素,还是作为 GUI 中控件逻辑结构的贡献。

(继承自 AutomationPeer)
IsControlElementCore()

获取或设置一个值,该值指示与此 UIElementAutomationPeer 相关联的 UIElement 是否被最终用户理解为交互式的。 (可选)用户可能会将 UIElement 理解为对 GUI 中控件的逻辑结构的贡献。 此方法由 IsControlElement() 调用。

(继承自 UIElementAutomationPeer)
IsDialog()

向 UI 自动化公开 PasswordBox 类型。

(继承自 AutomationPeer)
IsDialogCore()

向 UI 自动化公开 PasswordBox 类型。

(继承自 UIElementAutomationPeer)
IsEnabled()

获取一个值,该值指示与此自动化同级关联的元素是否支持交互。

(继承自 AutomationPeer)
IsEnabledCore()

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否接受键盘点。 此方法由 IsKeyboardFocusable() 调用。

(继承自 UIElementAutomationPeer)
IsKeyboardFocusable()

获取一个值,该值指示此元素是否可以接受键盘焦点。

(继承自 AutomationPeer)
IsKeyboardFocusableCore()

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否接受键盘点。 此方法由 IsKeyboardFocusable() 调用。

(继承自 UIElementAutomationPeer)
IsOffscreen()

获取一个值,该值指示元素是否不在屏幕上。

(继承自 AutomationPeer)
IsOffscreenCore()

获取一个值,该值指示与此 UIElement 关联的 UIElementAutomationPeer 是否不在屏幕上。 此方法由 IsOffscreen() 调用。

(继承自 UIElementAutomationPeer)
IsPassword()

获取一个值,该值指示元素是否包含敏感内容。

(继承自 AutomationPeer)
IsPasswordCore()

获取一个值,该值指示与此 PasswordBoxAutomationPeer 相关联的 PasswordBox 是否包含受保护内容。 此方法由 IsPassword() 调用。

IsRequiredForForm()

获取一个值,该值指示是否必须在窗体中完成与此同级关联的元素。

(继承自 AutomationPeer)
IsRequiredForFormCore()

获取一个值,该值指示是否需要在表当上填写与此 UIElement 关联的 UIElementAutomationPeer。 此方法由 IsRequiredForForm() 调用。

(继承自 UIElementAutomationPeer)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
PeerFromProvider(IRawElementProviderSimple)

获取指定的 AutomationPeer 代理的 IRawElementProviderSimple

(继承自 AutomationPeer)
ProviderFromPeer(AutomationPeer)

获取指定的 IRawElementProviderSimpleAutomationPeer

(继承自 AutomationPeer)
RaiseActiveTextPositionChangedEvent(TextPointer, TextPointer)

向 UI 自动化公开 PasswordBox 类型。

(继承自 TextAutomationPeer)
RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs)

AutomationPeer 调用以引发 AsyncContentLoadedEvent 事件。

(继承自 AutomationPeer)
RaiseAutomationEvent(AutomationEvents)

引发自动化事件。

(继承自 AutomationPeer)
RaiseNotificationEvent(AutomationNotificationKind, AutomationNotificationProcessing, String, String)

向 UI 自动化公开 PasswordBox 类型。

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

引发事件以通知自动化客户端已更改的属性值。

(继承自 AutomationPeer)
ResetChildrenCache()

通过调用 GetChildrenCore() 同步重置子元素树。

(继承自 AutomationPeer)
SetFocus()

对与此自动化同级关联的元素设置键盘焦点。

(继承自 AutomationPeer)
SetFocusCore()

对与此 UIElementAutomationPeer 关联的 UIElement 设置键盘输入点。 此方法由 SetFocus() 调用。

(继承自 UIElementAutomationPeer)
ToString()

返回表示当前对象的字符串。

(继承自 Object)
VerifyAccess()

强制调用线程具有此 DispatcherObject 的访问权限。

(继承自 DispatcherObject)

显式接口实现

IValueProvider.IsReadOnly

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。

IValueProvider.SetValue(String)

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。

IValueProvider.Value

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。

适用于

另请参阅