[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
-
It creates a lot of issues:
DataContext
is being propagateda. First
null
comes asDataContext
b. Then parent view model comes as
DataContext
c. Only then right view model comes
CollectionViewSource
created in XAML is not initialized and does not workIf you try my https://github.com/Ecierge/Elmish.Uno/tree/eCierge/src/Samples
OneWaySeqGrouped
pagePay attention, branch
eCierge
You will see that
CollectionViewSource
declared in XAML works.But with Uno Navigation it does not
Are there any solutions for that?
Beta Was this translation helpful? Give feedback.
All reactions