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).

1260 questions
26
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
  • 66,094
  • 13
  • 157
  • 251
25
votes
4 answers

Is there a way to define a QToolbar with buttons and popup menus using Qt Designer?

I am wanting to have a toolbar in Qt that contains either QActions or QToolbarButtons that have popup menus attached to them. I have been able to do this perfectly in the code by creating a QMenu, adding it to a QToolbarButton and then adding that…
Eddie Loeffen
  • 251
  • 1
  • 3
  • 4
24
votes
9 answers

Visual studio shows endless messages "Code generation for property 'valueMember' failed."

After several days of happily hacking away on this C# app using Visual Studio 2008, I get struck by a barrage of error dialogs showing: Code generation for property 'valueMember' failed. Error was: 'Object reference not set to an instance of an…
Roland
  • 4,619
  • 7
  • 49
  • 81
22
votes
13 answers

Visual Studio 2022 WinForms designer hang on "Loading Designer..."

When I try to open a WinForms designer in my startup project in a solution, I get a screen "Loading designer...", "You can continue working while the designer is loading in the background". This screen stays forever and the designer is not loading.…
user1510694
  • 221
  • 1
  • 2
  • 4
22
votes
7 answers

How to represent Unicode character in VB.Net String literal?

I know you can put Unicode character codes in a VB.Net string like this: str = Chr(&H0030) & "More text" I would like to know how I can put the char code right into the string literal so I can use Unicode symbols from the designer view. Is this…
CodeFusionMobile
  • 14,812
  • 25
  • 102
  • 140
21
votes
2 answers

Android Designer like "Interface Builder"?

We are beginning to learn Android, converting our iPhone apps over. There is a rudimentary editor for layouts in Eclipse, but it's not very good. Is there a visual designer that would be on par with the iPhone "Interface Builder" ?
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
21
votes
11 answers

Visual studio 2012 XAML designer invalid markup

I've got a project that contains usercontrols. For some reason, the design view for the window which uses the said controls has stopped functioning and insists on "Invalid Markup" - the error given is that some members of the usercontrols are not…
moreyummystuff
  • 231
  • 1
  • 2
  • 5
20
votes
6 answers

How do I stop my ViewModel code from running in the designer?

I'm developing a networked WPF application with the MVVM pattern and it seems that it's running and connecting to servers in the designer. I know about the IsInDesignMode property, but I'm not sure how to access it in a ViewModel.
Brian Ortiz
  • 1,821
  • 1
  • 20
  • 47
20
votes
2 answers

How do I "hide" controls that my control uses from the toolbox?

I have developed a control in C#. Among other things this control can popup other controls at runtime. When you include the assembly in Visual Studio, the control that I created shows up, but the other controls (the ones my control uses) show up…
Pat O
  • 1,344
  • 3
  • 12
  • 27
20
votes
1 answer

Visual Studio 2010/2012 WPF designer extension

When I use Blend 4/5, I can create extension for Blend WPF designer like this: using System.ComponentModel.Composition; using Microsoft.Expression.DesignModel.Metadata; using Microsoft.Expression.Extensibility; using…
19
votes
2 answers

SSMS crashes when try to modify database diagram (v18.2)

When I try to modify a database diagram created before the application restart and crashes when trying to access. It happen only when I save the diagram and close the application. When I try to reopen it throws me an error then restart the SSMS. I'm…
Ivan-San
  • 771
  • 1
  • 5
  • 22
19
votes
5 answers

C# "Failed to parse method 'InitializeComponent'. The parser reported the following error 'Invalid symbol kind: NamedType'"

I have a project written by someone else with .NET framework 4 I have a problem with one of the forms (others opening correctly). When I try to open Form1 in "Design mode" Visual Studio 2017 shows the error screen and returns "Failed to parse…
Adam
  • 191
  • 1
  • 1
  • 5
19
votes
1 answer

How to change language of designer files in Visual Studio

Does anybody know how to change the language of the (automatically generated) designer files in Visual Studio without changing the language of the UI? Background: the members of my team use german and english Visual Studios. The problem is (svn-)…
Tillito
  • 7,718
  • 7
  • 34
  • 31
19
votes
10 answers

visual studio 2005 designer moves controls and resizes Form

When i open a form in visual studio 2005 (c#) the designer automaticaly resize the form and move/resize controls without touching the designer at all. The source file is changed and when i close the designer i'm asked to save the *.cs file. I tried…
tal
  • 409
  • 1
  • 5
  • 12
18
votes
11 answers

WPF Designer "Could not create an instance of type"

In my UI XAML I'm essentially inheriting from a class "BaseView" that contains functionality common to several forms, however this is preventing the designer from displaying the form: "Could not create instance of type BaseView". The code will…
jchadhowell
  • 1,131
  • 1
  • 14
  • 25
1
2
3
83 84