Modifier

Partager via


UIElement3DAutomationPeer.GetAcceleratorKeyCore Method

Definition

Returns the accelerator key for the UIElement3D that is associated with this UIElement3DAutomationPeer. This method is called by GetAcceleratorKey().

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

Returns

The accelerator key for the UIElement3D that is associated with this UIElement3DAutomationPeer.

Remarks

This method calls the AutomationProperties.GetAcceleratorKey method to get the value. AutomationProperties.GetAcceleratorKey returns a value only when the AutomationProperties.AcceleratorKey property is set. You can override GetAcceleratorKeyCore and add logic to provide the accelerator key in a way that makes sense for your UIElement3D.

UIElement3DAutomationPeer is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to