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
0
votes
0 answers

DuplexChannelFactory (Silverlight) working at Runtime but not at Designtime

I've the following code: var bind = new PollingDuplexHttpBinding(); bind.MaxReceivedMessageSize = 2147483647; EndpointAddress myEndpoint = new EndpointAddress(address); try { …
Jochen Kühner
  • 1,385
  • 2
  • 18
  • 43
0
votes
2 answers

Adding "Reset" Command to a Control's Extended Property in Property Grid

I have an Extender component of IExtenderProvider which extends a TextBox to have a "selected color". The default value for this color is "highlight". The user can change the "default selected color" in the Extender's property grid. If no extended…
AMissico
  • 21,470
  • 7
  • 78
  • 106
0
votes
1 answer

ListView showing empty TextBlocks at runtime

I'm experiencing a strange problem with data-binding. In the designer everything is shown correctly, but at runtime my ListView just contains those TextBlocks with an empty string in them. I'm using MVVM light for ViewModels. Most of the code was…
Zhedar
  • 3,480
  • 1
  • 21
  • 44
0
votes
1 answer

Where do I store a connection string so it is accessible by visual studio at design time?

I have some custom property editors that need to pull application data. These are working great in my test project where I am able to set a connection string in my app.config file. However, in actual practice, these editors will be running from…
Matthew Vines
  • 27,253
  • 7
  • 76
  • 97
0
votes
1 answer

Asp.net setting some context for a Custom UITypeEditor from parent form at Design Time

Trying to craft a way for our designers to create custom asp.net webforms for our customers. The basic idea is that we have a general set of fields that can be saved, with each customer using a subset of those fields, each customer may have it's…
Matthew Vines
  • 27,253
  • 7
  • 76
  • 97
0
votes
3 answers

Detecting insertion of new components at design-time in Delphi

How can my Delphi component detect at design time if any other component is being dropped on the form?
user1580348
  • 5,721
  • 4
  • 43
  • 105
0
votes
1 answer

Shared data for component property at design time

I have a component which implements an IExtenderProvider. One property contains settings which should be the same for each instance of the component the user uses within his project. (And also editable at each instance) Whats the common way to share…
Findnix
  • 1
  • 2
0
votes
1 answer

Exposing internal objects of a user control in the properties view of the designer?

I've already had success exposing a collection of items in the vb.net designer using DesignerSerializationVisibility(Content). Now I have a new twist. The items in my collection for a certain custom control are immutable--i.e. items can neither be…
Mario
  • 6,572
  • 3
  • 42
  • 74
0
votes
1 answer

How to Set Design Time Sizes and Positions for a Control in Silverlight

I'm wondering if there is a simple way to set the design time sizes and positions for a control in Silverlight. For example, there is a TextBlock on the canvas which is the LayoutRoot. I want to set the TextBlock's design-time Width, Height,…
Peter Lee
  • 12,931
  • 11
  • 73
  • 100
0
votes
1 answer

How can I use a linq2sql database on wp7 mango, while maintaining blendability?

I'm trying to create a WP7 application using MVVM Light and SQL Server CE as a database. To accomplish this I generated a datacontext using sqlmetal.exe (1). This works ok if I run the application on my phone. But when trying to display design time…
0
votes
1 answer

Design Time - Dynamic

can i create a view at design time, using dynamic objects? (with visual studio 2010) for example, or something, is that possible? xmlns:d="http://schemas.microsoft.com/expression/blend/2008" …
J. Lennon
  • 3,311
  • 4
  • 33
  • 64
0
votes
1 answer

Can I get my blendability back

I wrote a really simple ViewModel Locator : public static readonly DependencyProperty LocateForProperty = DependencyProperty.RegisterAttached("LocateFor", typeof (Object), typeof (ViewModelLocator), new PropertyMetadata(null,…
deanvmc
  • 5,957
  • 6
  • 38
  • 68
0
votes
1 answer

How to use ResourceDictionaries in different assemblies and DesignTime support in VS2010

i have the following problem. i have ResourceDictionaries located in different assemblies. if i create UserControls and use Styles and Resourcen from this ResourceDictionaries all works fine on runtime, but at designtime i got errors in vs2010 like…
blindmeis
  • 22,175
  • 7
  • 55
  • 74
0
votes
1 answer

Getting rid of design-time ArgumentNullException warnings in VS2010-Silverlight5

I have a Silverlight form that performs exception-based data validation. I learned how to do this data validation the following way: Set controls to be validated as follows:
usr-local-ΕΨΗΕΛΩΝ
  • 26,101
  • 30
  • 154
  • 305
0
votes
1 answer

Npgsql design time support in Visual Studio 2008

How to enable Npgsql design time support in Visual Studio 2008? I did exactly what manual says: 1) I have Npgsql.dll installed in c:\Program Files (x86)\PostgreSQL\Npgsql\ms.net3.5sp1\ 2) cd into that dir and run gacutil -i Npgsql.dll 3) Added a…
1 2 3
27
28