FrameworkElement.AllowFocusOnInteraction Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.
Configuration requise pour Windows
Famille d’appareils |
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduit dans v3.0)
|
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour