UIElement.KeyboardAcceleratorPlacementTarget
UIElement.KeyboardAcceleratorPlacementTarget
UIElement.KeyboardAcceleratorPlacementTarget
UIElement.KeyboardAcceleratorPlacementTarget
Property
Definition
Prerelease. Gets or sets a value that indicates the control tooltip that displays the accelerator key combination.
public : DependencyObject KeyboardAcceleratorPlacementTarget { get; set; }
DependencyObject KeyboardAcceleratorPlacementTarget(); void KeyboardAcceleratorPlacementTarget(DependencyObject keyboardacceleratorplacementtarget);
public DependencyObject KeyboardAcceleratorPlacementTarget { get; set; }
Public ReadWrite Property KeyboardAcceleratorPlacementTarget As DependencyObject
Property Value
The control tooltip that displays the accelerator key combination.
Additional features and requirements
Device family |
Windows 10 Insider Preview (introduced v10.0.17110.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v6)
|
Examples
<Grid x:Name="Container">
<Button Content="Click"
ToolTipService.ToolTip="Tooltip"
ToolTipService.PlacementTarget="{x:Bind Container}"
KeyboardAcceleratorPlacementTarget="{x:Bind Container}">
<Button.KeyboardAccelerators>
<KeyboardAccelerator Key="S" Modifiers="Control"/>
</Button.KeyboardAccelerators>
</Button>
</Grid>
Remarks
Use the 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.
Use the KeyboardAcceleratorPlacementMode property to specify whether the control tooltip displays the key combination for it's associated keyboard accelerator.