c# - UI testing trimmed text of textbox -


i'm testing wpf app has texboxes. when screen size not big enough show full textbox text, "truncated" ellipsis: abcdedf => abc ...

i want test behaviour cannot never value abc ... text property, abcdef, suggestions?

from microsoft reference:

    /// <summary>     /// texttrimming property specifies trimming behavior situation     /// in case of clipping textual content caused overflowing line's box.     /// </summary>     public texttrimming texttrimming     {         { return (texttrimming)getvalue(texttrimmingproperty); }         set { setvalue(texttrimmingproperty, value); }     } 

texttrimming defines how text trimmed in wpf textblock.


Comments