Skip to content

UWP -> WinUI3: ViewModelLocator.Current #4585

Answered by myokeeh
myokeeh asked this question in Q&A
Discussion options

You must be logged in to vote

It appears to be App.GetService<ShellPage>().ViewModel

See #4585 (reply in thread)

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@myokeeh
Comment options

@mikebattista
Comment options

@myokeeh
Comment options

@mikebattista
Comment options

@myokeeh
Comment options

Answer selected by mikebattista
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