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
18
votes
3 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
  • 957
  • 2
  • 13
  • 38
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
  • 47,638
  • 12
  • 72
  • 142
17
votes
5 answers

How can I add item data to QComboBox from Qt Designer/.ui file

I'm using Qt Designer (well, Qt Creator actually, but specifically the part derived from Qt Designer), and I've added a few QComboBox items to a dialog with a constant list of items. I need to map the items in the combo box to strings (which are…
LRFLEW
  • 1,251
  • 3
  • 11
  • 19
17
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,859
  • 11
  • 50
  • 81
16
votes
5 answers

How to display placeholder value in WPF Visual Studio Designer until real value can be loaded

I'm an experienced C# developer but a WPF newbie. Basic question (I think) that I can't find an answer to by web searching. Here's the simplified use case... I want to display a string in a WPF TextBlock. So I write some C# code in codebehind of…
Mike
  • 5,560
  • 12
  • 41
  • 52
16
votes
2 answers

How can I find a control looking at windows designer in visual studio 2012?

I have very old code with a lot of controls. On code behind I can find the name of the control. Now I would like easily by it's name find the placement of it on designer view in Visual Studio (or other tool). Is there any possibility to do it? No…
truthseeker
  • 2,214
  • 6
  • 30
  • 53
16
votes
2 answers

Microsoft Visual Studio and C#: How to Visually Add Events to Controls?

How would one go about adding an event handler to a control in a form in Microsoft Visual Studio (2008) with C#? I can do it manually, but opening the Designer.cs file for the Form, but I cannot find a way to do it through the interface. In MSVC 6,…
morrog
  • 664
  • 1
  • 8
  • 17
15
votes
2 answers

Visual Studio XAML Designer error XDG0062 using EventSetter in .NET Core WPF application

While porting a WPF project from .NET Framework to .NET Core I ran into a problem with the XAML-Designer in VS2019 v16.3.10. It keeps throwing XDG0062 errors when I try to use EventSetter in styles. The code compiles and runs fine, but the errors…
BBockisch
  • 175
  • 1
  • 1
  • 3
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
  • 4,348
  • 6
  • 33
  • 56
14
votes
2 answers

How can I make a composite component usable with the designer?

I'm experimenting around with writing custom WinForms components and I wrote a couple of simple validator components for use with a subclass of ErrorProvider that automatically hooks up validation events. All these components can be added to a form…
R. Martinho Fernandes
  • 228,013
  • 71
  • 433
  • 510
14
votes
1 answer

How do I use promote to in Qt Designer in pyqt4?

In the designer when I right click a widget, and I click promote to I get this window. See the screenshot below. I have never used this feature. Basically, the header file is confusing me. What is it for? Does that mean I can create a new class in…
Ciasto piekarz
  • 7,853
  • 18
  • 101
  • 197
13
votes
4 answers

Making the Visual Studio designer ignore a public property

I have a UserControl with a public property using the following attributes: [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] I have tried deleting the owner form, re-creating a fresh form in Visual Studio…
Trevor Elliott
  • 11,292
  • 11
  • 63
  • 102
13
votes
4 answers

Custom User Control Not Initialized in Auto-Generated Code

This has happened many times before, but I never bothered to figure out why, and now I am tired of it: For instance, I derive a class from RichTextBox or Panel, I rebuild my project to have the class added to the VS designer toolbox, and then I drag…
13
votes
7 answers

O/R Designer Validation failed - during clean?

------ Clean started: Project: DataService, Configuration: Debug Any CPU ------ O/R Designer validation failed for file: a.dbml O/R Designer validation failed for file: b.dbml O/R Designer validation failed for file: c.dbml O/R Designer validation…
Amy B
  • 108,202
  • 21
  • 135
  • 185
13
votes
1 answer

Why does QT designer re-size or not allow me to shrink or expand widgets or buttons?

Often times while using QT designer I find myself needing to re-size things either by shrinking or expanding them. Whenever I try to do this the program does not allow me and simply reverts to the original default size it gives me when placing the…
Randomator
  • 145
  • 1
  • 1
  • 9
1 2
3
83 84