TeachingTip.PreferredPlacement Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Posizionamento preferito da usare per la descrizione informativa. Se non c'è spazio sufficiente da visualizzare nella posizione preferita, verrà scelto automaticamente un nuovo posizionamento. Il posizionamento è relativo alla destinazione se Target è diverso da null o alla finestra padre della descrizione informativa se Target è null.
public:
property TeachingTipPlacementMode PreferredPlacement { TeachingTipPlacementMode get(); void set(TeachingTipPlacementMode value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")]
TeachingTipPlacementMode PreferredPlacement();
void PreferredPlacement(TeachingTipPlacementMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")]
TeachingTipPlacementMode PreferredPlacement();
void PreferredPlacement(TeachingTipPlacementMode value);
public TeachingTipPlacementMode PreferredPlacement { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")]
public TeachingTipPlacementMode PreferredPlacement { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipPlacementMode::Auto")] set; }
var teachingTipPlacementMode = teachingTip.preferredPlacement;
teachingTip.preferredPlacement = teachingTipPlacementMode;
Public Property PreferredPlacement As TeachingTipPlacementMode
Valore della proprietà
- Attributi
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
Commenti
La descrizione informativa replica il comportamento di posizionamento FlyoutPlacementMode di Flyout con la proprietà TeachingTipPlacementMode. La modalità di posizionamento predefinita tenterà di posizionare un suggerimento didattico mirato sopra l'obiettivo e un suggerimento didattico non mirato centrato nella parte inferiore della radice XAML. Come con il controllo Flyout, se la modalità di posizionamento preferita non consente la visualizzazione del suggerimento didattico, verrà automaticamente scelta un'altra modalità di posizionamento.
Se prevedi che la tua app verrà usata con l'input del controller di gioco, vedi le interazioni tra game pad e telecomando. È consigliabile testare l'accessibilità del controller di gioco di ogni suggerimento didattico usando tutte le possibili configurazioni dell'interfaccia utente di un'app.