Control Designer Infrastructure, User Controls

R

Ralf Heitmann

Hi,
I'm just beginning to Convert our CF1 Custom controls (with Designer
support) for the CF2.

The first thing that I found out is that the Designer Environment dlls
are not necessary anymore. As I can see from Peter Foot's answer below
that will be replace by a sort of XML Designer definition, but I haven't
found the relevant file yet. Where is it located?

Is there any information available yet about changes in the Designer
Infrastructure yet?
What has to be done to shift the Custom controls from VS2003 to VS2005?

Ralf

If you class exposes only simple typed properties then you should be
able to use the ExpandableObjectConverter. This xml worked with a
previous build of Visual Studio, I've not had chance to carry on this
work with Beta 2, but this shows the xml used for the ProcessStartInfo
class which is used by the Process class in the SDF:-
<Class Name="OpenNETCF.Diagnostics.ProcessStartInfo">

<DesktopCompatible>false</DesktopCompatible>
<DesignTimeVisible>true</DesignTimeVisible>

<TypeConverter>System.ComponentModel.ExpandableObjectConverter,
System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 said:
<Property Name="Arguments">
<Browsable>true</Browsable>
<NotifyParentProperty>true</NotifyParentProperty>
</Property>

<Property Name="FileName">
<Browsable>true</Browsable>
<NotifyParentProperty>true</NotifyParentProperty>
</Property>

<Property Name="UseShellExecute">
<Browsable>true</Browsable>
<DefaultValue>
<Type>System.Boolean</Type>
<Value>True</Value>
</DefaultValue>
<NotifyParentProperty>true</NotifyParentProperty>
</Property>

<Property Name="Verb">
<Browsable>true</Browsable>
<DefaultValue>
<Type>System.String</Type>
<Value></Value>
</DefaultValue>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top