lepoco / wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
https://wpfui.lepo.co
MIT License
7.03k stars 666 forks source link

How to pass parameters in navigation #1096

Open Hykox opened 1 month ago

Hykox commented 1 month ago

Describe the bug

Hello everyone,

It's my code :

NavigationViewItem flowItem = new NavigationViewItem
{
    Content = transmissionFlow.Name,
    Icon = new SymbolIcon
    {
        Symbol = transmissionFlow.IsSender ? SymbolRegular.DocumentArrowUp16 : SymbolRegular.DocumentArrowDown16
    },
    TargetPageType = typeof(TransmissionHistoryView)
};

How it's possible to send parameters to my viewmodel or view at TransmissionHistoryView ?

Thx for helping

To Reproduce

-

Expected behavior

-

Screenshots

No response

OS version

Windows 11

.NET version

4.8

WPF-UI NuGet version

last

Additional context

No response

m0lDaViA commented 1 month ago

If you only need help why you create an issue then?

m0lDaViA commented 1 week ago

@Hykox Is that a question or a bug??