Dela via


Control.GetIsTemplateKeyTipTarget(DependencyObject) Method

Definition

Gets the value of the Control.IsTemplateKeyTipTarget XAML attached property for the target element.

public:
 static bool GetIsTemplateKeyTipTarget(DependencyObject ^ element);
 static bool GetIsTemplateKeyTipTarget(DependencyObject const& element);
public static bool GetIsTemplateKeyTipTarget(DependencyObject element);
function getIsTemplateKeyTipTarget(element)
Public Shared Function GetIsTemplateKeyTipTarget (element As DependencyObject) As Boolean

Parameters

element
DependencyObject

The object from which the property value is read.

Returns

Boolean

bool

The Control.IsTemplateKeyTipTarget XAML attached property value of the specified object.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

This method is a utility method for the property system, and isn't used in most app scenarios. In most cases you set the Control.IsTemplateKeytipTarget XAML attached property in XAML and won't need this method. For more info, see the Control.IsTemplateKeyTipTarget attached property.

Applies to

See also