avalonia-docs
avalonia-docs copied to clipboard
TextTrimming - Trim at start
Is your feature request related to a problem? Please describe.
Sometimes its more useful to trim a text at the beginning instead of end.
Describe the solution you'd like
Be able to trim at the beginning. Either by extending the existing TextTrimming
enum or by adding a new property
enum TextTrimLocation
{
End = 0,
Start = 1,
Middle = 2 //not requested but in this case to complete the list
}
Describe alternatives you've considered
Using a custom converter