Questions tagged [design-time]

In opposition to the run-time of a software, its design-time represents the time where it's being created.

In opposition to the run-time of a software, its design-time represents the time where it's being created or when its UI is being created.

The term design-time is particularly used in the domain of widget/visual components programming as they have to be efficient in an IDE and inside its UI editor (at design-time) but also when the program runs (at run-time).

413 questions
6
votes
1 answer

Delphi Designer, Is component inherited?

I'm writing a custom component editor, essentially similar to TActionList editor in that it allows creation of sub components. Editor has buttons to add/delete components. Now, I'd like to find out if selected component is inherited, so that I can…
user219760
6
votes
1 answer

Add sub controls to custom control after click the "OK" button of the "CollectionEditor" window in design time

I've created my custom control. It has a property that is called "Tab." This property adds a collection of "FloorsInformation" controls that are inherited from "DockContainerItem" class to my custom control. Now, I want to add "FloorsInformation"…
MRS1367
  • 1,053
  • 1
  • 14
  • 40
6
votes
1 answer

WPF design time error Object reference not set to an instance of an object

Ok I am getting sick of this problem. I am trying to make UserControl where I can populate its content from XAML. Previously I have created ObservableCollection DependencyProperty. It was working at runtime but at design time there was an…
5
votes
3 answers

How to unclutter the form when a application has very many datasets

In a moderately complex database application in Delphi it's easy to have dozens of datasets (tables and queries) and associated datasources on a form. All these clutter up the screen. It gets worse when your form has a pagecontrol where every page…
Johan
  • 74,508
  • 24
  • 191
  • 319
5
votes
2 answers

How do I prevent Visual Studio from duplicating errors in the error list?

I have looked up this question but none of the other answers have worked for me. I am getting duplicate messages in the error list on VS2019. I do not think it is every error and when I first open my project it doesn't do it but once I open up a…
5
votes
1 answer

How to auto include files when Delphi VCL design time package is put onto the form

I built a wrapper around the TWebBrowser in Delphi. The wrapper aims at implementing multiple web browsers (edge chromium, chrome etc) into a single wrapper that auto detects which browser to use. After I completed the class I turned said class into…
Matt
  • 151
  • 1
  • 5
5
votes
1 answer

Adding design-time support for a nested container in a custom/usercontrol (Winforms)

I have something similar to a wizard control, in the middle is a Panel I would like to use to place any child controls. I have found using the ScrollableControlDesigner will allow dropped controls to be added to the custom/usercontrol, but this is…
leppie
  • 115,091
  • 17
  • 196
  • 297
5
votes
1 answer

Visual Studio 2010 design time collection editor

I am working on a custom control for WPF and Silverlight. This control has a collection property of a complex type that is abstract, like such: public Collection Configuration { get { return…
Bas
  • 26,772
  • 8
  • 53
  • 86
5
votes
1 answer

Design Time Data From External XML Files

Does Visual Studio 2010 Visual Designer allow loading of data via external XML files during design time? It appears that I can add it via d:DataContext, but I have a lot of data and it is easier to load it via XML. So is this possible?
kevindaub
  • 3,293
  • 6
  • 35
  • 46
5
votes
0 answers

C# design time DataContext of a UserControl

I'm trying to use design time DataContext in a UserControl. According to this article (and some posts on this site) it should be possible to use the design time DataContext in the UserControl tag itself. However it's not working for me, neither in…
Timo
  • 9,269
  • 2
  • 28
  • 58
5
votes
1 answer

Why some properties are hidden from Object Inspector when more than one item is selected?

I've noticed that some properties disappear from the Object Inspector when selecting more than one item. Why does this happen and how to control this behavior when creating a component? Example: Add 2 buttons (TButton) to a form and select one of…
Fabrizio
  • 7,603
  • 6
  • 44
  • 104
5
votes
2 answers

WPF Converter throwing Object reference not set at design time

I'm having an error at design time in my xaml: Object not set to an instance of an object. It's only happening at design time and runs perfectly in run time. The error is coming from my converter, the code which I have below. I thought it might…
Spitfire5793
  • 391
  • 2
  • 15
5
votes
0 answers

ICommandSource's Command throws "The property "Command" does not have an accessible setter" exception in VS 2015

I am currently running the "14.0.23103.0 D14REL" of Visual Studio 2015 and noticed a strange design time exception regarding my custom UI controls which implement the ICommandSource interface. What is even more interesting is the fact that the issue…
Vladimir Amiorkov
  • 2,652
  • 3
  • 17
  • 35
5
votes
1 answer

WPF Could not load file or assembly or one of it's dependencies

I get this error only at design-time. At runtime everything works just fine. There is absolutely nothing wrong with I-Synergy.Resources class library. I've searched for this error intensively but no solution. (already tried: reset settings…
Ismail Hassani
  • 442
  • 5
  • 14
5
votes
2 answers

Add custom design time command to WinForms control

I have a custom WinForms control (inherits from control, i.e. without user interface jsut as Timer) to which I want to add a custom command add design time. This could be similar to the "right click and choose 'Edit Items...'" of a menu. Is this…
peterchen
  • 40,917
  • 20
  • 104
  • 186
1 2
3
27 28