I need to fetch the co-ordinates of word from a multiline textbox in silverlight -


i have spent entire day implementent functionality getrectfromcharacterindex() no success. microsoft has not implemented silveright 4.

i need fetch co-ordinates (start & end) of word of multiline text box in silverlight 4. should noted textbox wrappable. not able find since new line , wrapped lines 2 different thing. unable to find end of line wrapped line.

is possible fetch exact co-ordinates (it not index of char in string/textbox) of word in multiline textbox?

thanks in advance.

regards

sudhir kumar

turns out getrectfromcharacterindex wasn't implemented in sl5 either.

the way can implement manually. see example how can done, can @ this answer. careful, though, since calculating such thing performance killer.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -