PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Where are all these designer attributes in CF 2??

Reply

Where are all these designer attributes in CF 2??

 
Thread Tools Rate Thread
Old 06-09-2006, 01:28 PM   #1
doker0@wp.pl
Guest
 
Posts: n/a
Default Where are all these designer attributes in CF 2??


Hi.
I've made an usercontrol in full .net framework which has Items
property.
So of course i had some attributes applied like:
<System.ComponentModel.TypeConverter>
<System.ComponentModel.DesignerSerializationVisibility()>

But what happend to them in compact framework 2.0?
I've searched google and found examples only for v1.0 with System.CF
and #IF ....
and statements that cf 2.0 uses a different approach. nothing more.
I'm shocked

  Reply With Quote
Old 06-09-2006, 02:27 PM   #2
Peter Foot [MVP]
Guest
 
Posts: n/a
Default Re: Where are all these designer attributes in CF 2??

The architecture changed for VS2005. Now the attributes are applied via an
XML file, then a designer metadata dll is created which VS2005 uses to
provide design time behaviour. Take a look at this article (along with parts
2-4 linked at the end) for a walkthrough:-
http://www.peterfoot.net/ControlAnd...DesignTime.aspx

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

<doker0@wp.pl> wrote in message
news:1157545732.475539.192680@d34g2000cwd.googlegroups.com...
> Hi.
> I've made an usercontrol in full .net framework which has Items
> property.
> So of course i had some attributes applied like:
> <System.ComponentModel.TypeConverter>
> <System.ComponentModel.DesignerSerializationVisibility()>
>
> But what happend to them in compact framework 2.0?
> I've searched google and found examples only for v1.0 with System.CF
> and #IF ....
> and statements that cf 2.0 uses a different approach. nothing more.
> I'm shocked
>



  Reply With Quote
Old 06-09-2006, 02:30 PM   #3
Peter Foot [MVP]
Guest
 
Posts: n/a
Default Re: Where are all these designer attributes in CF 2??

Oops thats the VS2003 article. Try this one instead:-
http://www.mooseworkssoftware.com/VS2005%20Control.htm

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

"Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
news:uYB2rgb0GHA.1536@TK2MSFTNGP02.phx.gbl...
> The architecture changed for VS2005. Now the attributes are applied via an
> XML file, then a designer metadata dll is created which VS2005 uses to
> provide design time behaviour. Take a look at this article (along with
> parts 2-4 linked at the end) for a walkthrough:-
> http://www.peterfoot.net/ControlAnd...DesignTime.aspx
>
> Peter
>
> --
> Peter Foot
> Device Application Development MVP
> www.peterfoot.net | www.inthehand.com
>
> <doker0@wp.pl> wrote in message
> news:1157545732.475539.192680@d34g2000cwd.googlegroups.com...
>> Hi.
>> I've made an usercontrol in full .net framework which has Items
>> property.
>> So of course i had some attributes applied like:
>> <System.ComponentModel.TypeConverter>
>> <System.ComponentModel.DesignerSerializationVisibility()>
>>
>> But what happend to them in compact framework 2.0?
>> I've searched google and found examples only for v1.0 with System.CF
>> and #IF ....
>> and statements that cf 2.0 uses a different approach. nothing more.
>> I'm shocked
>>

>
>



  Reply With Quote
Old 07-09-2006, 01:37 AM   #4
doker0@wp.pl
Guest
 
Posts: n/a
Default Re: Where are all these designer attributes in CF 2??

Thank You thank You thank You :]

  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