LinkLabel

This control is a label which looks and behaves like a hyperlink.

Inherits from System.Windows.Controls.Label.

LinkLabel 01

Properties

Property nameDescription
ClickBehaviorGets or sets click behavior. Can be OpenUrlInBrowser or Undefined.
CommandGets or sets command.
CommandParameterGets or sets command parameter.
CommandTargetGets or sets command target.
HasUrlGet whether url has a value.
HoverForegroundGets or sets hover foreground.
HyperlinkStyleGets or sets the hyperlink style.
LinkLabelBehaviorGets or sets link label behavior. Can be SystemDefault, AlwaysUnderline, HoverUnderline, NeverUnderline.
UrlGet or sets the URL.

Events

Event nameDescription
ClickOccurs on click.
RequestNavigateOccurs on request navigate.

How to use

<orc:LinkLabel Content="Action" ToolTip="Action" Command="{Binding DefaultAction}"
               HoverForeground="Orange" Url="http://catelproject.com"
               ClickBehavior="OpenUrlInBrowser"/>

Contributions

We would like to thank the following contributors:

Want to contribute to the documentation? We have a guide for that!


Questions

Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!