NavigationView.OverflowLabelMode Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan atau mengatur nilai yang menunjukkan label teks apa yang ditampilkan untuk menu luapan.
Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).
public:
property NavigationViewOverflowLabelMode OverflowLabelMode { NavigationViewOverflowLabelMode get(); void set(NavigationViewOverflowLabelMode value); };
NavigationViewOverflowLabelMode OverflowLabelMode();
void OverflowLabelMode(NavigationViewOverflowLabelMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewOverflowLabelMode::MoreLabel")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewOverflowLabelMode::MoreLabel")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewOverflowLabelMode::MoreLabel")]
NavigationViewOverflowLabelMode OverflowLabelMode();
void OverflowLabelMode(NavigationViewOverflowLabelMode value);
public NavigationViewOverflowLabelMode OverflowLabelMode { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewOverflowLabelMode::MoreLabel")]
public NavigationViewOverflowLabelMode OverflowLabelMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewOverflowLabelMode::MoreLabel")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewOverflowLabelMode::MoreLabel")] set; }
Public Property OverflowLabelMode As NavigationViewOverflowLabelMode
Nilai Properti
Nilai enumerasi yang menunjukkan label teks apa yang ditampilkan untuk menu luapan. Defaultnya adalah MoreLabel, yang menunjukkan teks "Lainnya".
- Atribut
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
Keterangan
Menu luapan hanya ditampilkan ketika Microsoft.UI.Xaml.Controls.NavigationView.PaneDisplayMode adalah Atas dan jendela tidak cukup lebar untuk menampilkan semua item menu navigasi.