Intersoft.Client.UI.Controls Namespace > EllipsisText Class : EllipsisPosition Property |
<CategoryAttribute("Common Properties")> Public Property EllipsisPosition As EllipsisPosition
Dim instance As EllipsisText Dim value As EllipsisPosition instance.EllipsisPosition = value value = instance.EllipsisPosition
[CategoryAttribute("Common Properties")] public EllipsisPosition EllipsisPosition {get; set;}
[CategoryAttribute("Common Properties")] public: property EllipsisPosition EllipsisPosition { EllipsisPosition get(); void set ( EllipsisPosition value); }
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> |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2