System.Windows.Forms.LinkLabel Members

The members of System.Windows.Forms.LinkLabel are listed below.

See Also: Inherited members from System.Windows.Forms.Label

Public Constructors

Initializes a new default instance of the System.Windows.Forms.LinkLabel class.

Public Properties

ActiveLinkColorSystem.Drawing.Color.

Gets or sets the color used to display an active link.

DisabledLinkColorSystem.Drawing.Color.

Gets or sets the color used when displaying a disabled link.

FlatStyleFlatStyle.

Gets or sets the flat style appearance of the System.Windows.Forms.LinkLabel.

LinkAreaLinkArea.

Gets or sets the range in the text to treat as a link.

LinkBehaviorLinkBehavior.

Gets or sets a value that represents the behavior of a link.

LinkColorSystem.Drawing.Color.

Gets or sets the color used when displaying a normal link.

[read-only]
LinksLinkLabel.LinkCollection.

Gets the collection of links contained within the System.Windows.Forms.LinkLabel.

LinkVisitedbool.

Gets or sets a value indicating whether a link should be displayed as though it were visited.

PaddingPadding.

Gets or sets the interior spacing, in pixels, between the edges of a System.Windows.Forms.LinkLabel and its contents.

override
Textstring.

Gets or sets the text displayed by the System.Windows.Forms.LinkLabel.

UseCompatibleTextRenderingbool.

Gets or sets a value that determines whether to use the System.Drawing.Graphics class (ndptecgdiplus) or the System.Windows.Forms.TextRenderer class (ndptecgdi) to render text.

VisitedLinkColorSystem.Drawing.Color.

Gets or sets the color used when displaying a link that that has been previously visited.

Protected Properties

OverrideCursorCursor.

Gets or sets the mouse pointer to use when the mouse pointer is within the bounds of the System.Windows.Forms.LinkLabel.

Protected Methods

override
CreateAccessibilityInstance() : AccessibleObject

Creates a new accessibility object for the System.Windows.Forms.LinkLabel control.

override
CreateHandle()

Creates a handle for this control. This method is called by the .NET Framework, this should not be called. Inheriting classes should always call base.createHandle when overriding this method.

override
OnAutoSizeChanged(EventArgs)

Raises the Label.AutoSizeChanged event.

override
OnEnabledChanged(EventArgs)

Provides handling for the Control.EnabledChanged event.

override
OnFontChanged(EventArgs)

Raises the Control.FontChanged event.

override
OnGotFocus(EventArgs)

Raises the Control.GotFocus event.

override
OnKeyDown(KeyEventArgs)

Raises the Control.OnKeyDown(KeyEventArgs) event.

OnLinkClicked(LinkLabelLinkClickedEventArgs)

Raises the LinkLabel.LinkClicked event.

override
OnLostFocus(EventArgs)

Raises the Control.LostFocus event.

override
OnMouseDown(MouseEventArgs)

Raises the Control.OnMouseDown(MouseEventArgs) event.

override
OnMouseLeave(EventArgs)

Raises the Control.OnMouseLeave(EventArgs) event.

override
OnMouseMove(MouseEventArgs)

Raises the Control.OnMouseMove(MouseEventArgs) event.

override
OnMouseUp(MouseEventArgs)

Raises the Control.OnMouseUp(MouseEventArgs) event.

override
OnPaddingChanged(EventArgs)

Raises the Control.PaddingChanged event.

override
OnPaint(PaintEventArgs)

Raises the Control.OnPaint(PaintEventArgs) event.

override
OnPaintBackground(PaintEventArgs)

Paints the background of the control.

override
OnTextAlignChanged(EventArgs)
Documentation for this section has not yet been entered.
override
OnTextChanged(EventArgs)

Provides handling for the Control.TextChanged event.

PointInLink(int, int) : LinkLabel.Link

Gets the link located at the specified client coordinates.

override
ProcessDialogKey(Keys) : bool

Processes a dialog key.

override
Select(bool, bool)
Documentation for this section has not yet been entered.
override
SetBoundsCore(int, int, int, int, BoundsSpecified)

Performs the work of setting the bounds of this control.

override
WndProc(ref Message)
Documentation for this section has not yet been entered.

Public Events

LinkClicked

Occurs when a link is clicked within the control.

TabStopChanged

Occurs when the value of the Label.TabStop property changes.

Explicitly Implemented Interface Members