UIElement3DAutomationPeer.GetAcceleratorKeyCore 方法

定义

返回与此 UIElement3DAutomationPeer 关联的 UIElement3D 的加速键。 此方法由 GetAcceleratorKey() 调用。

protected:
 override System::String ^ GetAcceleratorKeyCore();
protected override string GetAcceleratorKeyCore ();
override this.GetAcceleratorKeyCore : unit -> string
Protected Overrides Function GetAcceleratorKeyCore () As String

返回

String

与此 UIElement3DAutomationPeer 关联的 UIElement3D 的加速键。

注解

此方法调用 AutomationProperties.GetAcceleratorKey 该方法以获取值。 AutomationProperties.GetAcceleratorKey 仅当设置属性时 AutomationProperties.AcceleratorKey ,才返回一个值。 可以重写 GetAcceleratorKeyCore 和添加逻辑,以便以对你有意义的 UIElement3D方式提供加速器键。

UIElement3DAutomationPeer在 .NET Framework 版本 3.5 中引入。 有关详细信息,请参见版本和依赖关系

适用于