Skip to main content
Version: 3.5

LinkLabel

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents an hyper-link control.

public class LinkLabel : Label

Constructors​

Instance memberLinkLabel()​

Initializes a new default instance of the LinkLabel class.

Instance memberLinkLabel(text, onLinkClicked)​

Initializes a new instance of the LinkLabel class with the specified text.

NameTypeDescription
textStringThe text to display on the LinkLabel.
onLinkClickedAction<Object, LinkLabelLinkClickedEventArgs>The event handler that executes when the link area is clicked.

Instance memberLinkLabel(text, location, size, onLinkClicked)​

Initializes a new instance of the Label class.

NameTypeDescription
textStringInitial text.
locationPointInitial location.
sizeSizeInitial size.
onLinkClickedAction<Object, LinkLabelLinkClickedEventArgs>The event handler that executes when the link area is clicked.

Properties​

Instance memberActiveLinkColor​

Color: Returns or sets the color used to display an active link (while being pressed).

Instance memberDisabledLinkColor​

Color: Returns or sets the color used when displaying a disabled link.

Instance memberLinkArea​

LinkArea: Returns or sets the range in the text to treat as a link.

Throws:

Instance memberLinkBehavior​

LinkBehavior: Returns or sets a value that represents the behavior of a link. (Default: SystemDefault)

Instance memberLinkColor​

Color: Returns or sets the color used when displaying a link.

Instance memberTabStop​

Boolean: Returns or sets whether the user can give the focus to this control using the TAB key. (Default: False)

Methods​

Instance memberPerformClick()​

Generates a Click event for the LinkLabel control.

Events​

Instance memberLinkClicked​

LinkLabelLinkClickedEventHandler Fired when a link is clicked within the control.

Instance memberTabStopChanged​

EventHandler Fired when the value of the TabStop property changes.

Implements​

NameDescription
IBindableComponentBindable components implement this interface.
IButtonControlAllows a control to act like a button on a Form.
ICommandSourceDefines an object that can invoke a Command.
IDropTargetControls that support drag & drop operations implement this interface.
IErrorProviderExposes a common api implemented by components that can collect errors in relation to a Control.
IImageProvides access to common image properties across the controls that implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.