Intersoft ClientUI 8 > ClientUI Controls > Control Library > UI Controls Overview > EllipsisText > How-to: Customize Text Position in EllipsisText |
This example shows how to customize text position in EllipsisText.
You can customize the position of the trimmed text by setting EllipsisPosition property. The following example show how to customize the EllipsisPosition.
XAML |
Copy Code
|
---|---|
<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> |