So i know it’s possible to set the StringFormat in Binding for a date and a numeric value, but what i would like to achieve is a StringFormat where the following string:
“This is the body of an long text which is defined as a varchar(max) in the database. This means the string is very long.”
To
“This is the body of a long tex…” (The max length would be 25 characters)
Thanks in advance
Use a value converter:
}
So the above would trim oit to 80 characters based on the constant value. then in your xaml bind to the field