I feel very much annoyed by default zoom of XAML Designer in VS2015 (not sure if version is relevant), which is Fit all
by default.
Is there a way to set it to 100%
by default? Disabling zoom feature is also an option. But there is nothing related in VS Settings
- XAML Designer
.
P.S.: tagging it with languages to be visible to peoples like me, who only look at tagged questions (in my case C#
).
The XAML Previewer has been deprecated in Visual Studio 2019 version 16.8 and Visual Studio for Mac version 8.8, and replaced by the XAML Hot Reload feature in Visual Studio 2019 version 16.9 and Visual Studio for Mac version 8.9.
These include the artboard (which is the visual design surface), XAML editor, Document Outline window (Objects and Timeline window in Blend for Visual Studio), and Properties window. To open the XAML Designer, right-click a XAML file in Solution Explorer and choose View Designer.
To open it, go to Debug > Windows > XAML Live Preview. Or, select the Show in XAML Live Preview button in the application toolbar.
To disable project code in the designer Alternatively, on the toolbar in the XAML designer, choose the Disable project code button. You can toggle the button again to re-enable project code.
Visual Studio 2015 (at least Professional with Update 1) remembers your XAML Designer's zoom setting.
Start just one instance of VS2015 and create a new WPF Application. Open the MainWindow.xaml and select the designer. In my case it opens up with 100% zoom:
Now change the zoom to Fit all and then create a new WPF Application. Again open MainWindow.xaml and select the designer. The zoom should show something like 229.4% (which is the % for Fit all in this case):
Restart VS2015 and create new WPF project and again check the zoom. It should till default to your last selection.
Note: Selecting 400% didn't have this same behavior. The designer opened with 100% instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With