This example shows how to customize text position in EllipsisText.
Example
Description
You can customize the position of the trimmed text by setting EllipsisPosition property. The following example show how to customize the EllipsisPosition.
Code
XAML | ![]() |
---|---|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <Intersoft:EllipsisText Text="Some quite long text" EllipsisPosition="Right" Width="80"/> <Intersoft:EllipsisText Text="Some quite long text" EllipsisPosition="Left" Width="80"/> <Intersoft:EllipsisText Text="Some quite long text" EllipsisPosition="Center" Width="80"/> </StackPanel> |