Skip to content

(WASM) Native frame navigation using MVUX and C# markup, is it possible? #17976

Closed Answered by francoistanguay
emem67 asked this question in Q&A
Discussion options

You must be logged in to vote

So the first approach of .Command(() => //in place code) is not supported. It's meant to use data binding to a Command that would be defined in your Model Method/ViewModel Command (depending if you're using MVVM or MVUX).

Second, when using a pattern like MVVM or MVUX, you keep your view code separated from your presentation/business code. Therefore, you typically need a navigation abstraction. You could define your own Navigation Service that abstracts the frame navigation and inject it in your model... OR. you could look into using our Navigation Extensions that already do all of that.

https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Navigation/NavigationOverview.html

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@francoistanguay
Comment options

Answer selected by emem67
@francoistanguay
Comment options

@emem67
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants