Setting Window.Icon Property Value From Codebehind(ekampf.com)

submitted by ekampfekampf(3195) 5 years ago

Explains how to set the Window.Icon property from codebehind when using WPF.

2 comments |category: |Views: 299

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by kentcbkentcb(140) 4 years, 11 months ago 0

Blog comments are disabled so I'll comment here. You can also just use:

Icon = BitmapFrame.Create(new Uri("pack://application:,,,/App.ico"));

Kent Boogaart

Reply

posted by ekampfekampf(3195) 4 years, 10 months ago 0

Thanks :)

Reply

information Login or create an account to comment on this story