Get text from WPF TextBlock

Posted by Rupesh on Stack Overflow See other posts from Stack Overflow or by Rupesh
Published on 2010-04-06T10:18:37Z Indexed on 2010/04/06 10:23 UTC
Read the original article Hit count: 294

Filed under:
|

Hello,

I have a listbox where list items contain TextBlock whose Text property is set to the actual text of list item.Means here to select specific list item based on name I have to loop out through text of each list item's TextBlock. So the question is how can I get text of TextBlock?

Thanks.

© Stack Overflow or respective owner

Related posts about ui

Related posts about automation