Intersoft ClientUI Documentation
TextDecorationsMousePress Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > Hyperlink Class : TextDecorationsMousePress Property






Gets or sets the text decoration applied to the hyperlink element when it is pressed.

Syntax

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

Remarks

As an inline element, you can specify formatting to Hyperlink element. By default, a Hyperlink element will have Underline text decoration, which will still be displayed when the element is hovered or pressed. You can use several properties to change the formatting when the hyperlink element is hovered and pressed. Simply use BackgroundMouseOver, BackgroundMousePress, ForegroundMouseOver, ForegroundMousePress, TextDecorationsMouseOver, and TextDecorationsMousePress properties.

XAML Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph>
        <Intersoft:Hyperlink NavigateUri="http://www.bmj.com/content/343/bmj.d4995" Foreground="#FF3ab0f2" 
                    BackgroundMouseOver="#FF88e6f2" BackgroundMousePress="#FF88e6f2" 
                    TextDecorations="None" TextDecorationsMouseOver="None" TextDecorationsMousePress="None">
            <Intersoft:Run>
                British Medical Journal
            </Intersoft:Run>
        </Intersoft:Hyperlink>
    </Intersoft:Paragraph>
</Intersoft:FlowDocument>

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.