NavigationView.ContentOverlay Propriété

Définition

Obtient ou définit un élément d’interface utilisateur affiché en haut du contrôle, sous le volet si PaneDisplayMode est top.

Cette documentation s’applique à WinUI 2 pour UWP (pour WinUI dans le SDK d'application Windows, consultez les espaces de noms SDK d'application Windows).

public:
 property UIElement ^ ContentOverlay { UIElement ^ get(); void set(UIElement ^ value); };
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 { get; 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; }
Public Property ContentOverlay As UIElement

Valeur de propriété

Élément affiché en haut du contrôle.

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Remarques

La propriété ContentOverlay prend un seul UIElement. Il s’agit généralement d’un panneau de disposition, tel que Grid ou StackPanel, qui contient des éléments supplémentaires.

S’applique à