Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug TextBlock MouseEvent doesn't work properly when text alignment is applied.
0 replies. Latest Post by jjy2 on March 25, 2008.
(0)
jjy2
Member
354 points
155 Posts
03-25-2008 10:54 PM |
TextBlock MouseEvent doesn't work properly when text alignment is applied.
When I have textblock with TextAlignment.Center TextBlock's MouseEvent triggers as if text is aligned to left.
For example, string TextBlock with large width like below,
" centered " XXXXXXXX00000000000000000000000000000000 Where X is mouse detected area, 0 is not.
When I move mouse over "XXXXXXXX" area, MouseMove, Enter, Leave event fires but no events fires when move over "00000000000000000000000000000000" area.