TextBlock MouseEvent doesn't work properly when text alignment is applied.
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.