UIElement.KeyboardAcceleratorPlacementMode 属性

定义

获取或设置一个值,该值指示控件 工具提示 是否显示其关联键盘快捷键的组合。

public:
 property KeyboardAcceleratorPlacementMode KeyboardAcceleratorPlacementMode { KeyboardAcceleratorPlacementMode get(); void set(KeyboardAcceleratorPlacementMode value); };
KeyboardAcceleratorPlacementMode KeyboardAcceleratorPlacementMode();

void KeyboardAcceleratorPlacementMode(KeyboardAcceleratorPlacementMode value);
public KeyboardAcceleratorPlacementMode KeyboardAcceleratorPlacementMode { get; set; }
var keyboardAcceleratorPlacementMode = uIElement.keyboardAcceleratorPlacementMode;
uIElement.keyboardAcceleratorPlacementMode = keyboardAcceleratorPlacementMode;
Public Property KeyboardAcceleratorPlacementMode As KeyboardAcceleratorPlacementMode
<uiElement KeyboardAcceleratorPlacementMode="keyboardAcceleratorPlacementModeMemberName"/>

属性值

枚举的一个值。 默认值为 “自动”。

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

适用于

另请参阅