... all I'm offering is the truth. Nothing more. RSS 2.0
# Monday, April 27, 2009

I spent an eternity trying to figure out how to wrap text using WPF … here is the code snippet for future reference":

<Label Grid.Column="0" Grid.Row="1" x:Name="MyTitle" HorizontalAlignment="Center" FontFamily="Segoe UI" FontSize="12" MaxWidth="175">
    <TextBlock x:Name="MyText"  TextWrapping="Wrap">TITLE</TextBlock>
</Label>
Technorati Tags: ,,
Monday, April 27, 2009 2:13:56 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] - Trackback
WPF
Blogroll
Statistics
Total Posts: 330
This Year: 18
This Month: 2
This Week: 0
Comments: 30
About the author/Disclaimer

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

© Copyright 2010
Mark Downie
Sign In
All Content © 2010, Mark Downie
DasBlog theme 'Business' created by Christoph De Baene (delarou)