Skip to content

MarkupHyperlink Object

Description

An inline-level flow content element that provides facilities for hosting hyperlinks within flow content.

For a list of all members defined in this module, see MarkupHyperlink Members.

Object Model

MarkupHyperlink Object Model
Background Brush
Foreground Brush
Mouse Leave Event
Mouse Enter Event
Mouse Left Button Up Event
Mouse Left Button Down Event
Mouse Right Button Up Event
Mouse Right Button Down Event
Mouse Move Event
Lost Mouse Capture Event
Find Name
Inlines Collection
Markup Inline
Click Event

Remarks

The SetHandler Sample shows how to use the Tag property to identify which link was clicked.

Example

Public Sub Hyperlink_Click(ByVal Sender As MarkupObject, ByVal Args As MarkupRoutedEventArgs)  
    MsgBox "Click"  
End Sub  

Private Sub Form_Load()  
    MarkupLabel1.MarkupContext.SetHandler Me  
    MarkupLabel1.Caption = "Text with Hyperlink"  
End Sub  

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.