-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Create XAML helpers for handling provider state #97
Comments
Hello nmetulev, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
I attempted to create a ProviderStateTrigger, but I ran into some issues getting it to work. Basically the constructor is never called, and neither are any property setters when the trigger is created in XAML. This makes it impossible to listen for changes in the GlobalProvider and renders the trigger useless. My attempt lives here: |
@shweaver-MSFT Maybe double-check that the VSM itself is working and is setup proper in the example? I think it can only work at the root element of a page, so it won't work in a nested Grid for instance. |
@michael-hawker I got it working :) I was just doing it wrong. Check it out! I baked it right into the SampleTest app as an easy way to test it. #107 |
There are few ways we could help developers manage the provider states in XAML
The text was updated successfully, but these errors were encountered: