When I place a TextBlock inside of a Horizontally Aligned StackPanel it does not wrap. I realize that this is because the available width of the StackPanel is PositiveInfini
I got couple of solution for this problem.
1) binding parent width to textblock width. (im the following case i considered usercontrol as parent).
2) other solution is using Grid instead of stackpanel