Hello.
Is it possible to somehow define the characters used for wrapping?
For example I have following string containing list of people in format : "Name Surname Hour:Minute"
"Michal Michalski 08:35, Damian Damianski 09:46, Roman Romanski 10:45"
Depending on TextBox's size wrapping can break line after space, ":" or ",".
I Need to block possibility of breaking line after certain character (in this case space and ":", so it could only break line after "," character).
Maybe there is any special escape character?
If there is no way of blocking or defining characters for wrapping, Do you maybe have any ideas how can I achieve such functionality?
I have only 1 idea - which is counting size of text, but I think its kind of complicated, cos I would have to keep in mind that there could be like hundreds of combinations of Font and its style chosen.
I will appreciate any help.
Greetings
Michal
Is it possible to somehow define the characters used for wrapping?
For example I have following string containing list of people in format : "Name Surname Hour:Minute"
"Michal Michalski 08:35, Damian Damianski 09:46, Roman Romanski 10:45"
Depending on TextBox's size wrapping can break line after space, ":" or ",".
I Need to block possibility of breaking line after certain character (in this case space and ":", so it could only break line after "," character).
Maybe there is any special escape character?
If there is no way of blocking or defining characters for wrapping, Do you maybe have any ideas how can I achieve such functionality?
I have only 1 idea - which is counting size of text, but I think its kind of complicated, cos I would have to keep in mind that there could be like hundreds of combinations of Font and its style chosen.
I will appreciate any help.
Greetings
Michal