Windows Vista Beta | WinVistaBeta.com - Message | How to tell, in XAML, if a TextBlock is wrapping?

October 15, 2008  
Subject: How to tell, in XAML, if a TextBlock is wrapping?
Group: microsoft.public.windows.developer.winfx.avalon
Date: 5/16/2008 1:26:10 PM
From: stein [Email Address Protection]

I have a need to know, from the XAML, if a TextBlock is currently
wrapping it's contents. Is this possible? I want to trigger on this
property being true or false to change the appearance of items around
the TextBlock.

To clarify: I don't want to know if TextWrapping is set to one of the
appropriate enum values, I want to know whether or not wrapping is
currently in effect.

Thanks in advance for any help,

-Matt

Back