Questions tagged [xaml-designer]

86 questions
24
votes
3 answers

XAML Designer - default zoom?

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…
Sinatr
  • 20,892
  • 15
  • 90
  • 319
18
votes
3 answers

Is there a keyboard shortcut to switch between XAML and Designer in VS 2012?

When switching from a code file to a XAML file in Visual Studio 2012, the focus goes to the designer. If I want to edit the XAML (which is 99% of the time), I need to use the mouse to move the focus to the XAML code/markup window. Is there a way to…
Erick T
  • 7,009
  • 9
  • 50
  • 85
17
votes
1 answer

How to kill process that may not exist on prebuild step in Visual studio?

Problem is if this process doesn't exist, build fails. I try to write something like this tasklist /nh /fi "imagename eq XDesProc.exe" | find /i "XDesProc.exe" && ( TASKKILL /F /IM "XDesProc.exe" ) || ( echo XAML designer is not running ) But…
12
votes
7 answers

New WPF Custom Control Library Name does not exist in Namespace

I am new to WPF and I am trying to resolve an error. I am trying to build a custom control library where I can make my own control objects. When I go to File > New Project > WPF Custom Control Library > [Enter name] > Save, then instant error: The…
11
votes
3 answers

Visual Studio 2015 (Community) designer shows NullReferenceException for blank Universal App

I'm getting a bit frustrated by this, maybe someone has encountered a similar problem or has an idea how to fix it. I upgraded to Windows 10. I installed Visual Studio 2015 Community. I created a new solution, with only 1 project for a blank…
Tenshiko
  • 1,450
  • 3
  • 17
  • 33
9
votes
2 answers

How To: Stop Visual Studio XAML Editor from Adding mc:Ignorable

Whenever I run my Windows Phone application while the XAML page is open, Visual Studio adds the following to my XAML: mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" …
TheBlueSky
  • 5,526
  • 7
  • 35
  • 65
9
votes
1 answer

Unable to cast object of type 'Castle.Proxies.XProxy' to type 'X' in WPF Designer

I've recently discovered the very useful design time attributes from Blend for a WPF component, which (among other things) allows you to set a DataContext only at design time. Awesome! Combined with the DesignInstance attribute, you can set a type…
Todd Bowles
  • 1,554
  • 15
  • 24
8
votes
1 answer

Better way to restart (XAML-)Designer in Visual Studio 2012

Currently when i have a problem (like errors and warnings, that are resolved but are still present in the ErrorList or to reload assemblies used by the designer) with the XAML-Designer in Visual Studio 2012 and i need to restart it, i open…
Jehof
  • 34,674
  • 10
  • 123
  • 155
7
votes
2 answers

The XAML designer has stopped using the design-time data context

In my project, I have several WPF windows and controls. For each one, I've created a sample view model so I can see the window or control mocked-up with sample data in the XAML designer by including a line like this: …
Lork
  • 133
  • 1
  • 6
7
votes
5 answers

XAML Designer System.Runtime.Remoting.RemotingException

I'm encountering the following System.Runtime.Remoting.RemotingException error when I create a blank Windows 10 Universal Application... Following are event viewer screens... I have checked online for other solutions and have already done…
7
votes
4 answers

Visual Studio 2015 Update 1 xaml designer not showing for UWP

Where disappeared XAML designer for Universal Windows app in Visual Studio 2015 Update1? It is working for wpf and window 8.1 apps and XAML designer is enabled in Tools->Option->XAML Designer
Liero
  • 25,216
  • 29
  • 151
  • 297
7
votes
2 answers

Visual Studio 2013 update 3, Designer won't load

I have the following situation. I installed Visual Studio Update 3 last night. Now I have a problem that when I open my projects (Universal Apps) which i have done while i had update 2, my designer won't load and it throws an exception: Does anyone…
7
votes
3 answers

XAML Editor hangs for 4-10 seconds driving me mad

I know similar questions exists but they don't address this exact problem. I'm having an issue with Visual Studio 2008 SP1 whereby it hangs for 4-10 seconds whenever the xaml edit receives focus. It is literally driving me to despair and I'm about…
headsling
  • 623
  • 3
  • 13
6
votes
0 answers

Visual Studio 2015 XAML designer not showing with System.Runtime.Remoting.RemotingException

My problem is with my XAML designer in vs 2015 community edition on my windows 10. it simply does not load. XAML designer on WPF desktop app works fine. VS 2015 xaml designer An unhandled exception has occurred …
5
votes
1 answer

How can I debug XAML designer issues?

I'm developing a UWP app with Visual Studio 2015, and one of the things I want to do use some sample data at design time. Now, I've added a XAML file, set the build action as DesignDataWithDesignTimeCrateableTypes My XAML is really straight forward…
Rowland Shaw
  • 37,700
  • 14
  • 97
  • 166
1
2 3 4 5 6