FrameworkElement.AllowFocusOnInteraction Propriété

Définition

Obtient ou définit une valeur qui indique si l’élément obtient automatiquement le focus lorsque l’utilisateur interagit avec lui.

public:
 property bool AllowFocusOnInteraction { bool get(); void set(bool value); };
bool AllowFocusOnInteraction();

void AllowFocusOnInteraction(bool value);
public bool AllowFocusOnInteraction { get; set; }
var boolean = frameworkElement.allowFocusOnInteraction;
frameworkElement.allowFocusOnInteraction = boolean;
Public Property AllowFocusOnInteraction As Boolean
<frameworkElementAllowFocusOnInteraction="bool"/>

Valeur de propriété

Boolean

bool

true si l’élément obtient le focus lorsqu’un utilisateur interagit avec lui ; sinon, false.

S’applique à