Click here to Skip to main content
15,913,225 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Silverlight/WPF Pin
#realJSOP5-Oct-10 9:01
professional#realJSOP5-Oct-10 9:01 
AnswerRe: Silverlight/WPF Pin
Abhinav S4-Oct-10 22:15
Abhinav S4-Oct-10 22:15 
AnswerRe: Silverlight/WPF Pin
#realJSOP5-Oct-10 9:03
professional#realJSOP5-Oct-10 9:03 
AnswerRe: Silverlight/WPF Pin
thatraja7-Oct-10 19:57
professionalthatraja7-Oct-10 19:57 
QuestionHow to define condition variable on xaml ? Pin
Yanshof4-Oct-10 19:39
Yanshof4-Oct-10 19:39 
AnswerRe: How to define condition variable on xaml ? Pin
Mycroft Holmes4-Oct-10 19:45
professionalMycroft Holmes4-Oct-10 19:45 
GeneralRe: How to define condition variable on xaml ? Pin
Yanshof4-Oct-10 19:54
Yanshof4-Oct-10 19:54 
GeneralRe: How to define condition variable on xaml ? Pin
Mycroft Holmes4-Oct-10 20:12
professionalMycroft Holmes4-Oct-10 20:12 
AnswerRe: How to define condition variable on xaml ? Pin
#realJSOP5-Oct-10 9:04
professional#realJSOP5-Oct-10 9:04 
QuestionCommands in User Control Pin
eddieangel4-Oct-10 14:06
eddieangel4-Oct-10 14:06 
AnswerRe: Commands in User Control Pin
Mycroft Holmes4-Oct-10 19:59
professionalMycroft Holmes4-Oct-10 19:59 
AnswerRe: Commands in User Control Pin
Arun Jacob4-Oct-10 20:02
Arun Jacob4-Oct-10 20:02 
GeneralRe: Commands in User Control Pin
eddieangel5-Oct-10 6:15
eddieangel5-Oct-10 6:15 
AnswerRe: Commands in User Control Pin
Abhinav S4-Oct-10 20:29
Abhinav S4-Oct-10 20:29 
QuestionRe: Commands in User Control Pin
PumbaPumba17-Oct-10 21:22
PumbaPumba17-Oct-10 21:22 
AnswerRe: Commands in User Control Pin
eddieangel18-Oct-10 7:24
eddieangel18-Oct-10 7:24 
AnswerRe: Progress Bar Display Pin
Ian Shlasko4-Oct-10 5:49
Ian Shlasko4-Oct-10 5:49 
QuestionHow to show userControl on all screen ? Pin
Yanshof4-Oct-10 4:54
Yanshof4-Oct-10 4:54 
AnswerRe: How to show userControl on all screen ? Pin
Ian Shlasko4-Oct-10 5:52
Ian Shlasko4-Oct-10 5:52 
QuestionWPF DataGrid: Settings ItemsSource with large DataTable Pin
soup4-Oct-10 1:41
soup4-Oct-10 1:41 
Questionclick event of the hyperlink variable. Pin
rus2042-Oct-10 0:42
rus2042-Oct-10 0:42 
<code><pre>
Public WithEvents hyperLink As New Hyperlink()
~~~~~~~~~~~~~~~~~
For Each Lists As Status In Some.Status
TextBlock.Margin = New Thickness(4)
TextBlock.TextWrapping = TextWrapping.Wrap


hyperLink = New Hyperlink() With {.NavigateUri = New Uri("ok://" & Lists.Text)}
hyperLink.Inlines.Add("OK")


TextBlock.Inlines.Add(Lists.Text)
TextBlock.Inlines.Add(hyperLink)

Grid.SetColumn(TextBlock, 1)
Grid.SetRow(TextBlock, grdList.RowDefinitions.Count - 1)

grdList.Children.Add(TextBlock)
Next


Private Sub hyperLink_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles hyperLink.Click
MsgBox("Here I want to put a hyperlink address.")


End Sub

</pre></code>


The above code is the approximate.


Look at the relevant section in the code above hyperlink, add a hyperlink to the Grid can be found.


Yeah, but added to the first hypertext link event occurs.

Only first hyperlink.


What should I do all the hyperlinks that event occurs?
AnswerRe: click event of the hyperlink variable. Pin
Abhinav S2-Oct-10 3:18
Abhinav S2-Oct-10 3:18 
GeneralRe: click event of the hyperlink variable. Pin
rus2042-Oct-10 3:53
rus2042-Oct-10 3:53 
AnswerRe: click event of the hyperlink variable. Pin
Saksida Bojan2-Oct-10 21:35
Saksida Bojan2-Oct-10 21:35 
GeneralRe: click event of the hyperlink variable. Pin
rus2043-Oct-10 3:16
rus2043-Oct-10 3:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.