UIElement.KeyboardAcceleratorPlacementMode UIElement.KeyboardAcceleratorPlacementMode UIElement.KeyboardAcceleratorPlacementMode UIElement.KeyboardAcceleratorPlacementMode Property

Definition

Gets or sets a value that indicates whether the control tooltip displays the key combination for it's associated keyboard accelerator.

public : KeyboardAcceleratorPlacementMode KeyboardAcceleratorPlacementMode { get; set; }
KeyboardAcceleratorPlacementMode KeyboardAcceleratorPlacementMode();

void KeyboardAcceleratorPlacementMode(KeyboardAcceleratorPlacementMode keyboardacceleratorplacementmode);
public KeyboardAcceleratorPlacementMode KeyboardAcceleratorPlacementMode { get; set; }
Public ReadWrite Property KeyboardAcceleratorPlacementMode As KeyboardAcceleratorPlacementMode
<uiElement KeyboardAcceleratorPlacementMode="keyboardAcceleratorPlacementModeMemberName"/>

Property Value

A value of the enumeration. The default is Auto.

Additional features and requirements
Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Remarks

If more than one accelerator is associated with a control, the key combination for the first registered accelerator is displayed in the control tooltip.

Use the @Windows.UI.Xaml.UIElement.KeyboardAcceleratorToolTipTarget?text=KeyboardAcceleratorToolTipTarget property to specify the control tooltip that displays the accelerator key combination. For example, a Pivot control can display the tooltip for a PivotItem with the Pivot header.

See Also