Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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.
There are two ways to go about this...
1.) Let developers set: DesignMode.IsDesignModeEnabled = true; in the main constructor for the app
Intended Use Case
See design time data at runtime.