Skip to main content
Version: 4.1

LinkLabel

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents an hyper-link control.

public class LinkLabel : Label

Constructors

Instance member LinkLabel()

Initializes a new default instance of the LinkLabel class.

Instance member LinkLabel(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 member LinkLabel(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 member ActiveLinkColor

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

Default value is Color.Red.

Instance member DisabledLinkColor

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

Instance member LinkArea

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

Default value is a LinkArea with Start=0, Length = -1 Throws:

Instance member LinkBehavior

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

Instance member LinkColor

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

Default value is Color.Blue

Instance member TabStop

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

Methods

Protected member OnClick(e)

Fires the Click event.

ParameterTypeDescription
eEventArgsAn EventArgs that contains the event data.

Protected member OnLinkClicked(e)

Fires the LinkClicked event.

ParameterTypeDescription
eLinkLabelLinkClickedEventArgsA LinkLabelLinkClickedEventArgs that contains the event data.

Protected member OnWebEvent(e)

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Instance member PerformClick()

Generates a Click event for the LinkLabel control.

Events

Instance member LinkClicked

LinkLabelLinkClickedEventHandler Fired when a link is clicked within the control.

Instance member TabStopChanged

EventHandler Fired when the value of the TabStop property changes.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
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.