c# - "float: left" Behaviour in WPF -
is possible, in wpf, have image on left side of container, have wrapping textblock stay beside image wraps down below image once height of textblock exceeds height of image? kind of behaviour similar float: left; in css, example doing:
<img src="..." style="float: left;">some text here wraps below image once text exceeds image height ...but in wpf. possible? i'm binding database don't want split textblock.
there isn't way composite wpf panels behavior without splitting text across multiple controls, flowdocument has functionality via floaters.
http://blogs.msdn.com/b/llobo/archive/2005/11/20/floaters.aspx
or
http://msdn.microsoft.com/en-us/magazine/cc163371.aspx
it may take more work text db flowdocument structure, , flowdocument pretty heavy if using textblocks before, give want. without more context can't say.
Comments
Post a Comment