Bagikan melalui


NavigationViewItem.InfoBadge Properti

Definisi

Mendapatkan atau mengatur objek InfoBadge untuk ditampilkan di 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

Nilai Properti

Lencana yang akan ditampilkan pada NavigationViewItem. Default adalah null.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Berlaku untuk

Lihat juga