NavigationViewItem.InfoBadge Proprietà

Definizione

Ottiene o imposta l'oggetto InfoBadge da visualizzare nell'oggetto NavigationViewItem.

/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
InfoBadge InfoBadge();

void InfoBadge(InfoBadge value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public InfoBadge InfoBadge { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
var infoBadge = navigationViewItem.infoBadge;
navigationViewItem.infoBadge = infoBadge;
Public Property InfoBadge As InfoBadge

Valore della proprietà

Badge da visualizzare in NavigationViewItem. Il valore predefinito è null.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Si applica a

Vedi anche