[Navigation] Why DataContext is being set only after control is loaded but not right after creation? #2433
Unanswered
xperiandri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
It creates a lot of issues:
DataContextis being propagateda. First
nullcomes asDataContextb. Then parent view model comes as
DataContextc. Only then right view model comes
CollectionViewSourcecreated in XAML is not initialized and does not workIf you try my https://github.com/Ecierge/Elmish.Uno/tree/eCierge/src/Samples
OneWaySeqGroupedpagePay attention, branch
eCiergeYou will see that
CollectionViewSourcedeclared in XAML works.But with Uno Navigation it does not
Are there any solutions for that?
All reactions