designer

How to give a custom ASP.NET control the ability to parse XML markup to a collection?

I'm writing a custom ASP.NET webcontrol and would like it to have a collection of custom items which can also be specified in the XML markup. Something like this: class MyControl: WebControl { public IList<MyItemType> MyItems { get; private set; } } And in the markup: <asd:MyControl runat="server" id="mc1"> <MyItems> ...

HTML designer that works with CSS/Divs and not Table design?

Is there some sort of HTML designer (WYSIWYG) available that allows me to draw the page and results with a page using DIVs / CSS and not TABLE design? ...

Create a custom control which has a fixed height in designer

I want to create a custom control (derived from Control class), and when I drag this custom control to a form in designer, I can only change its width. This feature is same as single-line textbox. Please help me. Thanks. Update: My application is Windows Form. ...

.Net Designer assemblies, C++\C# error

I'm working on an designer-heavy application (using Visual C++ 2.0, but a C# solution should still be relevant). My setup is this: I have a UserControl named "Host" I'm attempting a UserControl named "Child" Child contains a property to a class whose type is defined in a different dll entirely, named "mytools.dll" Child works just fi...

[C#] Own component with panel

Hi, I want to create my own component which consists two other panels. One of them has fixed contents (such as control buttons, etc.) and the other is standard panel, where I can add other components in designer (VS2008). I know that I have to create UserControl, where I can place my two panels. Then I want to insert my component into ...

How does the VS XAML designer know what to auto-populate certain values with?

<Button Name="MyButton" Content="Test" FontStyle="Italic" /> In the above XAML definition of a button, the FontStyle property is set to Italic. The designer is somehow able to populate a list for me to choose from when I hit the = sign. How is this achieved? Before you answer, consider that the FontStyle property is, appropriately eno...

How do I change properties of buttons within button boxes in Qt4 designer?

I have been searching online now to no avail, but does anyone know how to access a button in a button box ?(created using the "Dialog with Buttons right" template) ...

Need some help with PyQt and QGridLayout

I'm having an annoyingly stubborn problem here, and I would appreciate it if anyone could give me some insight into what I'm doing wrong. I have a PyQt app that is supposed to display a table of numbers. So, naturally, I am using QTableWidget. Right now, it's extremely simple: all I do is create a window with a Table Widget and a button...

jBPM web designer - install and usage

Hi, Has anyone got the new jBPM 4.3 web designer installed and working? I am trying to but http://localhost:8080/jbpmeditor/, http://localhost:8080/jbpm/editor/; http://localhost:8080/p/explorer all return invalid URL I have run ant install.signavio.into.tomcat. I am on tomcat 6.0, jBPM4.3, MySQL 5.1. I am able to login to the jbpm-con...

C# says this.Controls is null, why?

Earlier my code was running nicely.. then I edited some .. did not touch the designer code. Why this error is being shown? ...

How to add controls (programmatically) to a Visual Studio designer WinForm

In my current job we are not allowed to use databinding. I’m currently using a code generator (ORM) to generate the data layer objects. In the past I usually generated a data source (from the object) and do a drag and drop to automatically add the controls (with the correct databinding to the WinForm). Is there is a way to do something ...

Custom activity designers in Workflow Foundation 3.5: How do they work?

Intent of this post: I realise that Workflow Foundation is not extremely popular on StackOverflow and that there will probably be not many answers, or none at all. This post is intended as a resource to people trying to customise workflow activities' appearance through custom designer classes. Goals: I am attempting to create a cust...

WPF inherited UserControl lost VS designer support

Hi ! I' written this UserControl: <my:MyUserControl x:Class="MyClass" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:my="clr-namespace:MyNameSpace.MyControls;assembly=MyAssembly"> </my:MyUserControl> pu...

Add new Css Style in SharePoint Designer

I am trying to customize one field of a discussion forum in SharePoint, basically i want to resize (maker bigger) the body Field. I think this can be done applying a new css specific to that field but i am not sure how to do this, becuase it's seem that some other css are overlapping the one that i created and that’s why mine is not a...

Just curious, in NetBeans IDE 6.1 how can i get icons for my custom GUI components in the GUI editor

This is by no means really important, i was just wondering if the community knows how to put icons for my custom GUI components that show up in the NetBeans GUI designer. What i did was make several Swing components and then i use the menu options to add them to the GUI pallete, but they show up with "?" icons. It would be nice if they...

Design support for templated UserControl

Hello, I have created a real simple templated UserControl using the following tutorial: http://msdn.microsoft.com/en-us/library/36574bf6(VS.80).aspx I can now add this control to my mvc 2.0 application using: <components:Box BoxType="Help" Title="Content Title" runat="server"> <Content> <%: Html.TextBox("test") %> ...

Select value in designer for a Type property

I have a UserControl that exposes a System.Type property. I want to make it settable at design time, like the BindingSource's DataSource property. Ultimately, I would like the designer code to generate this: this.EntityType = typeof(Company.Product.Class); Where the class selection would come from the project's registered Data Sources...

Visual Studio: Design a UserControl class that derives from an abstract base class

Hi All, I want to have an abstract base class for some of my custom UserControl's. The reason is obvious: they share some common properties and methods (a basic implementation of some elements of an interface actually), and I want to implement them only once. I have done this by defining my abstract base class: public abstract class V...

How to read the Web.Config file in a Custom Activity Designer in a WF4 Workflow Service

I have a WF service with a custom activity and a custom designer (WPF). I want to add a validation that will check for the presence of some value in the web.config file. At runtime I can overload void CacheMetadata(ActivityMetadata metadata) and thus I can do the validation happily there using System.Configuration.ConfigurationManager t...

Designer serialization and collection

Hey There, I have an custom control that represents a grid; and implements another custom control. When opening this control in de designer, I am able to use the collection editor to set my collection. When saving; the designer successfully saves my collection. However, when dropping this control on a form; it still (and should) expose...