Visual Studio 2010 - WPF disable design view for individual control
Asked Answered
T

1

6

Is there a way to disable the design view of an individual UserControl - without disabling the design view for other controls?

Certain controls of mine do not support design view, and in these cases I would prefer them to just load up the xaml editor.

Is there something I can place in the code to disable the design view?

Toitoiboid answered 23/3, 2011 at 18:40 Comment(0)
H
2

This question intrigued me. I never use the VS designer anyway. For visual tools I prefer Blend. I only use VS for editing the XAML directly (or code).

If you want to go straight to the XAML editor instead of the designer, here's an option. I don't know of any way to disable the designer only for certain views. I suspect that it is not possible unless you write a VS extension.

Homeo answered 23/3, 2011 at 19:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.