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

Design mode #1

Merged
merged 3 commits into from
Feb 23, 2018
Merged

Design mode #1

merged 3 commits into from
Feb 23, 2018

Conversation

alanmcgovern
Copy link

I squashed up your original patches into one concise commit and then added the changes we need to make this work for anyone using the design mode rendering APIs.

This is rebased on tip of github.com/xamarin xamarin.forms master .

therealjohn and others added 2 commits February 22, 2018 10:52
Provides a static boolean for application authors to check if their app is running in a visual designer or previewer.

Tools can set this value when running the app in a designer or previewer context.

Resolves xamarin#1731
These are the two supported APIs for design mode rendering,
so to ensure the DesignMode boolean is set correctly for
all existing releases of VS/VSMac, let's set it to true
whenever something connects to the design mode rendering
APIs.
@therealjohn therealjohn merged commit 8f8f31e into therealjohn:master Feb 23, 2018
therealjohn added a commit that referenced this pull request Feb 23, 2018
This reverts commit 8f8f31e.
@therealjohn
Copy link
Owner

Thanks, Alan.

Strange, I didn't Revert this...

therealjohn pushed a commit that referenced this pull request Feb 23, 2018
* Adds DesignMode class

Provides a static boolean for application authors to check if their app is running in a visual designer or previewer.

Tools can set this value when running the app in a designer or previewer context.

Resolves xamarin#1731

* Enable design mode when we use the design mode APIs

These are the two supported APIs for design mode rendering,
so to ensure the DesignMode boolean is set correctly for
all existing releases of VS/VSMac, let's set it to true
whenever something connects to the design mode rendering
APIs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants