Forum Discussion
Hi. Thank you for your swift response. I imagined I could do it that way, but scanning through the text object properties, I would expect to use the Text property or perhaps the WPFControlText property in order to "grab" string value and I was hoping the ellipses (...) would be included in those properties, but sadly that's not the case.
In every text property, I get the entire string and not the trimmed string so it's been confusing on how to test against that. I do have a TextTrimming property but it just states what type of trimming is used and not if that text is actually trimmed.
It MIGHT be something in the general rendering in the browser or application. Not a property of the object itself but how the technology acts by default. I've seen some applications where, if the field is not wide enough, the text does NOT get trimmed but you have to scroll right (take a long URL in the address bar of your favorite browser for instance).
So, this might not be something you can detect by the text of the text field/label itself. Maybe it's a "native" object property. It's probably going to take some investiation.
The alternative is to do an image capture and OCR but I typically don't like those methods.
Related Content
Recent Discussions
- 2 hours agojstaehlin
- 20 hours agoAivanitskiy
- 23 hours agonastester