Intersoft ClientUI Documentation
How-to: Customize Text Position in EllipsisText

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
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>

See Also

Concepts

Other Resources