Quantcast
Channel: How to use XAML as window icon?
Viewing all articles
Browse latest Browse all 3

How to use XAML as window icon?

$
0
0

When I try to assign a DrawingImage to Window.Icon, I get the exception InvalidOperationException: ImageSource for Icon property must be an icon file.

Does WPF only support bitmaps as window icons? Then why is Window.Icon of type ImageSource?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images