Control.SetIsTemplateFocusTarget(FrameworkElement, Boolean) Method

Definition

Sets the value of the Control.IsTemplateFocusTarget XAML attached property for a target element.

C#
public static void SetIsTemplateFocusTarget(FrameworkElement element, bool value);

Parameters

element
FrameworkElement

The object to which the property value is written.

value
Boolean

The value to set.

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.IsTemplateFocusTarget XAML attached property in XAML and won't need this method. For more info, see the Control.IsTemplateFocusTarget attached property.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also