Bagikan melalui


NavigationViewItemExpandingEventArgs Kelas

Definisi

Menyediakan data peristiwa untuk peristiwa NavigationViewItem.Expanding .

public ref class NavigationViewItemExpandingEventArgs sealed
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Version(1)]
class NavigationViewItemExpandingEventArgs final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class NavigationViewItemExpandingEventArgs final
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class NavigationViewItemExpandingEventArgs
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public sealed class NavigationViewItemExpandingEventArgs
Public NotInheritable Class NavigationViewItemExpandingEventArgs
Warisan
Object Platform::Object IInspectable NavigationViewItemExpandingEventArgs
Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute MarshalingBehaviorAttribute VersionAttribute ContractVersionAttribute

Contoh

Tip

Untuk informasi selengkapnya, panduan desain, dan contoh kode, lihat NavigationView.

Aplikasi WinUI 3 Gallery mencakup contoh interaktif sebagian besar kontrol, fitur, dan fungsi WinUI 3. Dapatkan aplikasi dari Microsoft Store atau dapatkan kode sumber di GitHub.

Properti

ExpandingItem

Mendapatkan objek yang diperluas setelah peristiwa NavigationViewItem.Expanding.

ExpandingItemContainer

Mendapatkan kontainer item yang diperluas setelah peristiwa NavigationViewItem.Expanding.

Berlaku untuk