Announcements
Hello,
How can i set control style based on his mode (read-only etc.) ??
Thanks
You can get that information from the context object, at context.Mode.isControlDisabled.
@GregHurlmanMSFT
Is there documentation for this? I tried to google for this very thing and it did not return anything from microsoft docs.
Thanks!
It's available at
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/reference/mode
but as with all such documentation it does not go into any detail
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 525 Most Valuable Professional
Haque 308
Kalathiya 234 Super User 2026 Season 1