Intersoft ClientUI Documentation
How-to: Customize Text Position in EllipsisText
See Also Send Feedback
Intersoft ClientUI 7 > ClientUI Controls > Control Library > UI Controls Overview > EllipsisText > How-to: Customize Text Position in EllipsisText

Glossary Item Box

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

©2012. All Rights Reserved.