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
23
votes
8 answers

VS2010 "An item with the same key has already been added"

I recently installed Visual Studio 2010 and copied and converted an old VS2005 solution to VS2010 When I edit this solution, if I try to change a control's .image property, VS2010 creates a message box telling me that "An item with the same key has…
User2400
  • 2,173
  • 2
  • 18
  • 22
22
votes
3 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
  • 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,272
  • 24
  • 96
  • 138
22
votes
7 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
  • 3,391
  • 5
  • 32
  • 63
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
  • 60,720
  • 99
  • 311
  • 535
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
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
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,763
  • 1
  • 18
  • 42
19
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,294
  • 2
  • 12
  • 27
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,121
  • 1
  • 13
  • 25
18
votes
2 answers

android studio designer preview: how to include device frame?

There seems to be tons of answers to the opposite question "how to remove device frame" which instructs user to click the "settings" button inside preview to uncheck "include device frame (if available)". But for me using 2.2.2 on a mac and 2.2.1…
rockhammer
  • 847
  • 1
  • 12
  • 35
18
votes
7 answers

The type name {myUserControl} does not exist in the type {myNamespace.myNamespace}

I have a problem (obviously the question :) I have a project-- MyProject... hence the rest of the project uses a default of any classes as namespace "MyProject"... no problem. In my project, I created a custom user control that has many other…
DRapp
  • 43,407
  • 11
  • 68
  • 131
18
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
  • 399
  • 1
  • 4
  • 12
16
votes
6 answers

WPF: VS2012 designer shows "The component 'XXX' does not have a resource identified by the URI YYY"

As the title suggests, this error is thrown by the designer, which means the designer can't display my UserControl correctly which in turn means I can't navigate smoothly from element to element in this UserControl to make modification. Really…
tete
  • 4,389
  • 9
  • 44
  • 70
14
votes
3 answers

How to make a User control property of type Collection editable in Form Designer?

Today at work, I stumbled upon a problem that was driving me nuts. Basically my goal is this: I have a UserControl1, with a field of the type Collection and a corresponding property Collection Prop. Like this: public class…
dialer
  • 3,367
  • 4
  • 27
  • 47
1
2
3
80 81