Intersoft ClientUI Documentation
TooltipStyle Property
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > EllipsisText Class : TooltipStyle Property






Gets or sets the tooltip style.

Syntax

Visual Basic (Declaration) 
Public Property TooltipStyle As Style
Visual Basic (Usage)Copy Code
Dim instance As EllipsisText
Dim value As Style
 
instance.TooltipStyle = value
 
value = instance.TooltipStyle
C# 
public Style TooltipStyle {get; set;}
Delphi 
public read-write property TooltipStyle: Style; 
JScript 
public function get,set TooltipStyle : Style
Managed Extensions for C++ 
public: __property Style* get_TooltipStyle();
public: __property void set_TooltipStyle( 
   Style* value
);
C++/CLI 
public:
property Style^ TooltipStyle {
   Style^ get();
   void set (    Style^ value);
}

Remarks

EllipsisText also support interactive tooltip to show the actual text. You can customize the style through the TooltipStyle property, which is shown in the following example.

XAML Copy Code
<UserControl.Resources>
    <Style x:Key="StylishLabelStyle1" TargetType="Intersoft:StylishLabel">
        <Setter Property="Background" Value="#AA000000"/>
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="CornerRadius" Value="8"/>        
    </Style>
</UserControl.Resources>
<Grid x:Name="LayoutRoot" Background="White">
    <Intersoft:EllipsisText Text="Some quite long text" EllipsisPosition="Right" TooltipStyle="{StaticResource StylishLabelStyle1}" Width="80"/>
</Grid>

Alternatively, you can use the standard tooltip from Silverlight instead of StylishLabel control by changing the TooltipUIMode to Basic.

XAML Copy Code
<Intersoft:EllipsisText Text="Some quite long text" EllipsisPosition="Right" TooltipUIMode="Basic"/>

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.