Click here to Skip to main content
15,914,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I saw there is a custome window in wpf, http://wpfwindow.codeplex.com/[^]

and I want to add icon to it, just like wpf window, I want to enable it set icon codebehind or in xaml. i tried , but I always not able to get icon in either way. I modified part of code in custome window InitlizeControl method, and tried to show icon from absolute path within the method and it worked. but I did not able to set icon like wpf style (code behind and XAML).

i want it like that:

in code;
C#
Standardwindow m_window ;
m_window.icon = myicon.

or in xaml
HTML
icon = "path//............"

is there anyone to tell me how to do it.
thanks in advance!
Posted
Updated 22-Feb-12 20:36pm
v2

1 solution

On browsing through CodePlex component site, I couldn't figure out window with iCon. My guess is that this custom defined window might suppressed iCon functionality; but not sure.

Best place to put this query at: http://wpfwindow.codeplex.com/discussions[^]
 
Share this answer
 
Comments
Alimjan Yasin 23-Feb-12 2:46am    
I want to pit a comment ai codeplex, but I could not find out how to put a comment. I saw people did, but I could not, I don't know why.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900