TextElement.AllowFocusOnInteraction TextElement.AllowFocusOnInteraction TextElement.AllowFocusOnInteraction TextElement.AllowFocusOnInteraction Property

Definition

Gets or sets a value that indicates whether the element automatically gets focus when the user interacts with it.

public : Platform::Boolean AllowFocusOnInteraction { get; set; }
bool AllowFocusOnInteraction();

void AllowFocusOnInteraction(bool allowfocusoninteraction);
public bool AllowFocusOnInteraction { get; set; }
Public ReadWrite Property AllowFocusOnInteraction As bool
<textElementAllowFocusOnInteraction="bool"/>
Property Value
bool bool

true if the element gets focus when a user interacts with it; otherwise, false.

Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)