Condividi tramite


NavigationView.ContentOverlay Proprietà

Definizione

Ottiene o imposta un elemento dell'interfaccia utente visualizzato nella parte superiore del controllo, sotto il riquadro se PaneDisplayMode è Top.

public:
 property UIElement ^ ContentOverlay { UIElement ^ get(); void set(UIElement ^ value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
UIElement ContentOverlay();

void ContentOverlay(UIElement value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
UIElement ContentOverlay();

void ContentOverlay(UIElement value);
public UIElement ContentOverlay { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
public UIElement ContentOverlay { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] set; }
var uIElement = navigationView.contentOverlay;
navigationView.contentOverlay = uIElement;
Public Property ContentOverlay As UIElement

Valore della proprietà

Elemento visualizzato nella parte superiore del controllo.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Commenti

La proprietà ContentOverlay accetta un singolo UIElement. Si tratta in genere di un pannello di layout, ad esempio Grid o StackPanel, che contiene elementi aggiuntivi.

Si applica a