WPF Application ICON

by ebarcza 5/17/2012 5:38:00 AM

To Add a custom ICON to your WPF application:

  1. right click on the project name in the solution explorer.
  2. Go to the Application tab, this should be the first one in Visual Studioj 2008
  3. In this tab you can set the icon.

 

Please note that the icon sometimes will not show up when you are in debug mode. Run without debugging and BOOM - you have an Application ICON

Tags:

WPF

WPF Multi line textbox

by ebarcza 5/3/2012 5:09:00 AM

To make a textbox multiline in WPF you have to set these 3 properties of TextBox Control.

  1. TextWrapping="Wrap"
  2. VerticalScrollBarVisibility="Visible"
  3. AcceptsReturn="True"

BOOM -> multi-line

Tags:

WPF

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  November 2017  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017

Sign in