Text trimming

How to trim text if is longer than the control

BrowseName
ElideEnum

Values

Value DisplayName Description
0 None No trimming is performed
1 Left Only the last part (ending) of the string is displayed
2 Middle Only the central part of the string is displayed
3 Right Only the left side (beginning) of the string is displayed