Using a xaml based RadWindow, I can have an icon by using the following markup:
<
telerik:RadWindow.IconTemplate
>
<
DataTemplate
>
<
Image
Source
=
"/Images/CompanyLogo.png"
Stretch
=
"None"
/>
</
DataTemplate
>
</
telerik:RadWindow.IconTemplate
>
I have another page (code behind) where I want to create a RadWindow from scratch using C#, but I can't figure out how to duplicate the IconTemplate I'm using in the above xaml (the DependencyProperty of DataTemplate is tripping me up). Can you help me with that by providing my missing C# IconTemplate ??? code?
RadWindow myDialog =
new
RadWindow();
myDialog.IconTemplate = ???
myDialog.ShowDialog();
Thanks,
Ray