AutomationProperties.GetAccessKey(DependencyObject) 方法

定义

获取指定 AccessKeyDependencyObject 附加属性。

public:
 static System::String ^ GetAccessKey(System::Windows::DependencyObject ^ element);
public static string GetAccessKey (System.Windows.DependencyObject element);
static member GetAccessKey : System.Windows.DependencyObject -> string
Public Shared Function GetAccessKey (element As DependencyObject) As String

参数

element
DependencyObject

要检查的 DependencyObject

返回

指定元素的访问键。

适用于

另请参阅