Adding UserControl to a class RRS feed

  • Question

  • Hi,

    The situation I faced is: I have a standalone class called WindowContent that derives from Panel. Inside this class I can set up simple properties like width i height ect.

    Now, I would like to add some graphic elements to it: border, shadows, header with some graphics etc).

    How can I achive this? Can I for example 'add' user control (that I can easliy edit in XAML) to it. Is there any other way to do this?

    Many thanks!




    Friday, January 28, 2011 7:05 AM


All replies