-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Control.IsTemplateFocusTarget |
winrt attachedproperty |
Gets or sets a value that indicates whether this element is the part of a control template that has the focus visual.
This property is for use in a ControlTemplate only. If it's set outside of a ControlTemplate
, it's ignored. If this attached property is set more than once in a ControlTemplate
, an exception is thrown.
- Type: Boolean
- Identifier field: IsTemplateFocusTargetProperty
- Accessor methods: GetIsTemplateFocusTarget, SetIsTemplateFocusTarget