Got this working perfectly :)

Just create a class that Inherits : UserControl add the xmlns for your new 
class (can be in another dll) and change the xaml root element to your new 
class.  Works perfectly in Blend too.

Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET

Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
M: +61 417 301 024 | E: 
[email protected]<mailto:[email protected]> | C: 
[email protected]<sip:[email protected]> | W: 
www.readify.net<http://www.readify.net/>
________________________________
The content of this e-mail, including any attachments is a confidential 
communication between Readify Pty Ltd and the intended addressee and is for the 
sole use of that intended addressee. If you are not the intended addressee, any 
use, interference with, disclosure or copying of this material is unauthorized 
and prohibited. If you have received this e-mail in error please contact the 
sender immediately and then delete the message and any attachment(s).
P Please consider your environmental responsibility before printing this e-mail
________________________________
From: [email protected] [[email protected]] On 
Behalf Of Philip Beadle [[email protected]]
Sent: Sunday, 1 March 2009 4:41 PM
To: [email protected]
Subject: Changing the base calls for a usercontrol

Has anyone had any success with creating a UserControl that inherits from 
UserControl?

I want to create a Module : UserControl and then use that as the root element 
so I can add a bunch of props and methods to all of my usercontrols.

Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET, MCAD, MCT
[cid:[email protected]]
Suite 408 LifeLabs Building | 198 Harbour Esplanade | Docklands | VIC 3008 | 
Australia
M: +61 417 301 024 | E: 
[email protected]<mailto:[email protected]> | C: 
[email protected]<sip:[email protected]> | W: 
www.readify.net<http://www.readify.net/>
________________________________
The content of this e-mail, including any attachments is a confidential 
communication between Readify Pty Ltd and the intended addressee and is for the 
sole use of that intended addressee. If you are not the intended addressee, any 
use, interference with, disclosure or copying of this material is unauthorized 
and prohibited. If you have received this e-mail in error please contact the 
sender immediately and then delete the message and any attachment(s).
P Please consider your environmental responsibility before printing this e-mail

[cid:[email protected]]<http://readify.net/about-readify/press/readify-makes-2008-mis-strategic-100-list/>

________________________________
Support procedure: https://www.codify.com/lists/support
List address: 
[email protected]<mailto:[email protected]>
Subscribe: 
[email protected]<mailto:[email protected]>
Unsubscribe: 
[email protected]<mailto:[email protected]>
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists
--------------------------------------------------------------------------------
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists

<<inline: image001.gif>>

<<inline: image002.jpg>>

Reply via email to