# LinkLabel

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (3.0.0.0)

* [Control](https://docs.wisej.com/api/v3.0/wisej.web/general/control)
  * [Label](https://docs.wisej.com/api/v3.0/wisej.web/content/wisej.web.label)
    * [LinkLabel](https://docs.wisej.com/api/v3.0/wisej.web/content/linklabel)

Represents an hyper-link control.

{% tabs %}
{% tab title="C#" %}

```csharp
public class LinkLabel : Label, IButtonControl
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class LinkLabel
    Inherits Label
    Implements IButtonControl
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)LinkLabel()

Initializes a new default instance of the [LinkLabel](https://docs.wisej.com/api/v3.0/wisej.web/content/linklabel) class.

## Properties

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)ActiveLinkColor

[Color](https://docs.microsoft.com/en-us/dotnet/api/system.drawing.color): Returns or sets the color used to display an active link (while being pressed).

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)DisabledLinkColor

[Color](https://docs.microsoft.com/en-us/dotnet/api/system.drawing.color): Returns or sets the color used when displaying a disabled link.

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)LinkArea

[LinkArea](https://docs.wisej.com/api/v3.0/wisej.web/content/linklabel/wisej.web.linkarea): Returns or sets the range in the text to treat as a link.

**Throws:**

* [ArgumentOutOfRangeException](https://docs.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception) The [Start](https://docs.wisej.com/api/v3.0/wisej.web/content/wisej.web.linkarea#start) property of the [LinkArea](https://docs.wisej.com/api/v3.0/wisej.web/content/linklabel/wisej.web.linkarea) object is less than zero; or the [Length](https://docs.wisej.com/api/v3.0/wisej.web/content/wisej.web.linkarea#length) property of the [LinkArea](https://docs.wisej.com/api/v3.0/wisej.web/content/linklabel/wisej.web.linkarea) object is less than -1.

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)LinkBehavior

[LinkBehavior](https://docs.wisej.com/api/v3.0/wisej.web/enumerations/wisej.web.linkbehavior): Returns or sets a value that represents the behavior of a link.

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)LinkColor

[Color](https://docs.microsoft.com/en-us/dotnet/api/system.drawing.color): Returns or sets the color used when displaying a link.

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)TabStop

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Returns or sets whether the user can give the focus to this control using the TAB key.

## Events

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)LinkClicked

[LinkLabelLinkClickedEventHandler](https://docs.wisej.com/api/v3.0/wisej.web/content/linklabel/wisej.web.linklabellinkclickedeventhandler) Fired when a link is clicked within the control.

### ![](https://2647619304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHOivImCoV8KSJbQyp6QI%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)TabStopChanged

[EventHandler](https://docs.microsoft.com/en-us/dotnet/api/system.eventhandler) Fired when the value of the [TabStop](https://docs.wisej.com/api/v3.0/wisej.web/wisej.web.label#tabstop) property changes.

## Implements

| Name                                                                                                      | Description                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [IBindableComponent](https://docs.wisej.com/api/v3.0/wisej.web/data-binding/wisej.web.ibindablecomponent) | Bindable components implement this interface.                                                                                                 |
| [IButtonControl](https://docs.wisej.com/api/v3.0/wisej.web/interfaces/wisej.web.ibuttoncontrol)           | Allows a control to act like a button on a [Form](https://docs.wisej.com/api/v3.0/wisej.web/containers/form).                                 |
| [IImage](https://docs.wisej.com/api/v3.0/wisej.web/interfaces/wisej.web.iimage)                           | Provides access to common image properties across the controls that implement this interface.                                                 |
| [IWisejComponent](https://docs.wisej.com/api/v3.0/wisej.core/interfaces/wisej.core.iwisejcomponent)       | All wisej components implement this interface.                                                                                                |
| [IWisejControl](https://docs.wisej.com/api/v3.0/wisej.core/interfaces/wisej.core.iwisejcontrol)           | All wisej controls derived from the [Control](https://docs.wisej.com/api/v3.0/wisej.web/general/control) class must implement this interface. |
| [IWisejSerializable](https://docs.wisej.com/api/v3.0/wisej.core/interfaces/wisej.core.iwisejserializable) | Allows an object to serialize itself.                                                                                                         |
