Langage

TeachingTip.ShouldConstrainToRootBounds Propriété

Définition

Obtient ou définit une valeur qui indique si l’info-bulle d’enseignement limite les limites de sa racine xaml.

public:
 property bool ShouldConstrainToRootBounds { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool ShouldConstrainToRootBounds();

void ShouldConstrainToRootBounds(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool ShouldConstrainToRootBounds();

void ShouldConstrainToRootBounds(bool value);
public bool ShouldConstrainToRootBounds { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool ShouldConstrainToRootBounds { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
var boolean = teachingTip.shouldConstrainToRootBounds;
teachingTip.shouldConstrainToRootBounds = boolean;
Public Property ShouldConstrainToRootBounds As Boolean

Valeur de propriété

Boolean

bool

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarques

Si aucune option de positionnement ne permet d’afficher entièrement une astuce pédagogique, celle-ci parcourt son cycle de vie d'événements pour forcer une fermeture plutôt que de s'afficher sans disposer d'un bouton de fermeture accessible. Si l’application annule l’événement de fermeture, il se peut que l’astuce pédagogique reste ouverte sans bouton Fermer accessible.

S’applique à