Questions tagged [designer]

a visualized UI creating tool (commonly windows forms creators)

Designers are used in various tasks.

Visual studio uses a designer engine to layout the user interface (buttons labels etc) for windows application, web sites and wpf applications.

Various designers exist for creating HTML and CSS, drawing building plans, connecting workflow items or building a city (think about the sims city games).

The designer tag on stackoverflow is mostly used to ask questions about the visual studio windows forms designer or windows workflow designer but also for various other UI designers (QT,Eclipse,Java).

1205 questions
180
votes
6 answers

Designer Added then removed by Visual Studio on load/unload

Anyone see this before? I have a large Visual Studio project that keeps adding [Subtype]Designer[/Subtype] to my .vcproj then removing it on the next open and close of the project. There is only one class defined in StoredImageControl.cs. Anyone…
Jeff Lundstrom
  • 1,811
  • 2
  • 11
  • 5
100
votes
8 answers

What approaches are available to dummy design-time data in WPF?

I am working without expression blend and just using the XAML editor in vs2010. The wisdom of this aside, I am increasingly seeing a need for design-time data binding. For simple cases, the FallbackValue property works very nicely (Textboxes and…
el2iot2
  • 6,188
  • 6
  • 35
  • 49
98
votes
3 answers

Show control hierarchy in the WinForms designer

One of our clients has an old WinForms application that contains forms with a lot of controls on them. Some of those controls have a deep hierarchy and that makes it to hard to select them in the designer. I need to understand this hierarchy to make…
Cédric V
  • 1,559
  • 1
  • 20
  • 26
59
votes
10 answers

How to manually reload the Visual Studio designer for WPF

Is there any way to force the WPF designer to reload or refresh, without rebuilding the entire project or solution? If there's an error, I get an option in the designer view to refresh the designer. But if I don't have an error, how can I get the…
dthrasher
  • 36,940
  • 32
  • 104
  • 137
56
votes
4 answers

How to change background color of XAML designer in vs2012?

I just try to view the result after XAML code in Designer. However, it's hard to recognize the black letters when I use a dark theme in vs2012. My question is how to change designer background to white color without modifying the dark theme. Seems…
Ted Corleone
  • 793
  • 1
  • 7
  • 16
44
votes
5 answers

Design-time-only background color in WPF?

In WPF XAML there is the convenient DesignHeight and DesignWidth, for instance in code as which is great because I can build the layout with a representative, but not locked-in,…
DuckMaestro
  • 13,332
  • 9
  • 61
  • 83
41
votes
4 answers

Visual Studio designer in x64 doesn't work

In Visual Studio 2010 64bit I can't design my forms. I keep getting this warning (and error): Warning 18 The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following…
Yochai Timmer
  • 44,746
  • 21
  • 135
  • 179
40
votes
2 answers

What's the purpose of the components IContainer generated by the Winforms designer?

When you create a new form in Visual Studio, the designer generates the following code in the .Designer.cs file: /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; ///…
bentsai
  • 2,913
  • 1
  • 21
  • 27
33
votes
3 answers

WPF Designer DataTemplate.DataType cannot be type object

I have a tree view that I'm binding to with some custom viewmodels. The viewmodels are in an ObservableCollection and inherit ViewModelBase which inherits INotifyPropertyChanged. It compiles and run fine, but in the designer I'm getting the…
Loocid
  • 5,001
  • 1
  • 18
  • 39
33
votes
3 answers

Disable XAML UI designer

How to disable XAML designer in VS 2011. I have checked following links possible to default-disable XAML designer in VS…
Tilak
  • 27,830
  • 17
  • 73
  • 125
30
votes
17 answers

Designer.cs not updating when new controls added to .aspx

I've added a new control to my aspx files and noticed that not only was the new control not added to the designer file but that it was also missing quite a few other controls that were added by other members of the team. I've tried deleting the…
user819357
  • 301
  • 1
  • 3
  • 4
30
votes
17 answers

Visual Studio 2010 Designer Error on Run

I am using using VS2010 and if I have a form open in designer mode and run my application the designer tab will no longer show the form designer but instead an error will be displayed (and it is only fixed by restarting the IDE) saying: "To…
Joel
  • 383
  • 1
  • 4
  • 5
30
votes
4 answers

How do I enable phpMyAdmin's Designer view?

I am running phpMyAdmin locally and I am trying to enable the Designer tool. How do you enable designer view for phpMyAdmin? I have read quite a few tutorials on how to enable the Designer view for phpMyAdmin and they all have different directions…
Carrie Kendall
  • 10,761
  • 5
  • 57
  • 79
26
votes
4 answers

Standard "About" dialog in Qt

What's the standard way to implement an "About" application dialog in Qt? You know, the kind that pops up when you go Help > About... from the application menu. I'm using Qt Designer to layout my main window, but I don't need anything fancy. It…
Matt Montag
  • 5,911
  • 7
  • 37
  • 45
25
votes
4 answers

Fix embedded resources for a generic UserControl

During a refactoring, I added a generic type parameter to MyControl, a class derived from UserControl. So my class is now MyControl. Now I get an error at runtime stating that the embedded resource file MyControl`1.resources cannot be found. A…
Wim Coenen
  • 63,995
  • 12
  • 149
  • 237
1
2 3
80 81