PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework CollectionEditor

Reply

CollectionEditor

 
Thread Tools Rate Thread
Old 17-01-2006, 12:26 PM   #1
Adam Coulter
Guest
 
Posts: n/a
Default CollectionEditor


I am trying to create my own Collection Editor from
System.ComponentModel.Design.CollectionEditor for a compactframework
control but ComponentModel does not contain a Design. Is it that this
is not possible to do for the compactframework?

Thanks

  Reply With Quote
Old 17-01-2006, 06:38 PM   #2
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
 
Posts: n/a
Default RE: CollectionEditor

Which version of the VS and CF is it?

In any case you will need to create desing-time version of your component.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"Adam Coulter" wrote:

> I am trying to create my own Collection Editor from
> System.ComponentModel.Design.CollectionEditor for a compactframework
> control but ComponentModel does not contain a Design. Is it that this
> is not possible to do for the compactframework?
>
> Thanks
>
>

  Reply With Quote
Old 18-01-2006, 11:06 AM   #3
Adam Coulter
Guest
 
Posts: n/a
Default Re: CollectionEditor

I am using VS 2005 (C#) and CF 2.0. My component is available at design
time and the collection editor is coming up however one of the
properties is an enumeration an this is not appearing in design-time. I
was then going to change this and use a custom collectioneditor and
create a collectioneditor like the one for the Resco DetailView.
However Visual Studio is telling me the namespace CollectionEditor does
not exist in System.ComponentModel.

Does this mean it is not possible to do this for a compactframework
component?
Any help on this is appreciated as I have searched the group and cannot
find the answer.

  Reply With Quote
Old 19-01-2006, 05:10 PM   #4
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
 
Posts: n/a
Default Re: CollectionEditor

It is possible, you will need to create a designer.

Take a look at this article:

http://www.mooseworkssoftware.com/VS2005%20Control.htm

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"Adam Coulter" wrote:

> I am using VS 2005 (C#) and CF 2.0. My component is available at design
> time and the collection editor is coming up however one of the
> properties is an enumeration an this is not appearing in design-time. I
> was then going to change this and use a custom collectioneditor and
> create a collectioneditor like the one for the Resco DetailView.
> However Visual Studio is telling me the namespace CollectionEditor does
> not exist in System.ComponentModel.
>
> Does this mean it is not possible to do this for a compactframework
> component?
> Any help on this is appreciated as I have searched the group and cannot
> find the answer.
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off