Skip to content
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

[Enhancement] Ability to use design time data at runtime #6639

jamesmontemagno opened this issue Jun 24, 2019 · 1 comment


Copy link

@jamesmontemagno jamesmontemagno commented Jun 24, 2019


I would like to be able to use design time data at runtime of my application. My rationale is that I usually start my application with no backend services, no data, and just mock dummy data in the UI. I can use the previewer today to see it inside the IDE, but when I run the application I can't use this data and I would have to drop off the d: on all of the fields to get it to work. This is doable, but as soon as I start putting in real data into the app I still want to use the design data and I would prefer to not to have to swap things over again.
The reason I would like this is because I desire to be able to ship a prototype off to clients.

API Changes

There are two ways to go about this...

1.) Let developers set: DesignMode.IsDesignModeEnabled = true; in the main constructor for the app
2.) Create an API to do it on a per page/control basis.

Intended Use Case

See design time data at runtime.


This comment has been minimized.

Copy link

@adamhill adamhill commented Jun 24, 2019

My caveat is that I would like to override this somehow on a per container / control / field basis.

@samhouts samhouts removed this from New in Triage Jun 24, 2019
@samhouts samhouts added the a/Xaml </> label Jun 24, 2019
@samhouts samhouts added this to Under consideration in Enhancements Aug 29, 2019
@samhouts samhouts moved this from Under consideration to In Progress in Enhancements Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
In Progress
3 participants
You can’t perform that action at this time.