Set value of hyperlink with WPF by code

hyperlink, wpf

Solution

Content: Hyperlink Inlines

Url: Hyperlink.NavigateUri

Hyperlink Properties

Problem

I'm using WPF and an Hyperlink control with ``` <TextBlock Margin="98,190,116,133.418" FontSize="14"> <Hyperlink Name="hyperlink" RequestNavigate="Hyperlink_RequestNavigate"> Click here </Hyperlink> </TextBlock> ``` this is working, but I would like to set the "click here" value by code, but I'm unable to find the correct property. ``` hyperlink.Value ? hyperlink.Text ? ``` Thanks in advance for your help

Original source