LinkLabel (llb)

LinkLabel - Allows you to include hyperlinks in your text.

This displays text on a form that looks and behaves just like an Internet link.
System.Diagnostics.ProcessStart
System.Diagnostics.ProcessStart("http://www.bettersolutions.com")


AutoSize property very annoying ??



Examples


Useful Code



Properties

ActiveLinkColorGets or sets the color used to display an active link.
AutoEllipsis Gets or sets a value indicating whether the ellipsis character (...) appears at the right edge of the Label, denoting that the Label text extends beyond the specified length of the Label. (Inherited from Label.)
AutoSizeGets or sets a value indicating whether the control is automatically resized to display its entire contents. (Inherited from Label.)
BackColorGets or sets the background color for the control. (Inherited from Control.)
BackgroundImage Gets or sets the image rendered on the background of the control. (Inherited from Label.)
BackgroundImageLayout This property is not relevant for this class. (Inherited from Label.)
BorderStyleGets or sets the border style for the control. (Inherited from Label.)
DisabledLinkColorGets or sets the color used when displaying a disabled link.
FlatStyleGets or sets the flat style appearance of the LinkLabel.
ForeColorGets or sets the foreground color of the control. (Inherited from Control.)
ImageGets or sets the image that is displayed on a Label. (Inherited from Label.)
ImageAlignGets or sets the alignment of an image that is displayed in the control. (Inherited from Label.)
ImageIndexGets or sets the index value of the image displayed on the Label. (Inherited from Label.)
ImageKeyGets or sets the key accessor for the image in the ImageList. (Inherited from Label.)
ImageListGets or sets the ImageList that contains the images to display in the Label control. (Inherited from Label.)
LinkAreaGets or sets the range in the text to treat as a link.
LinkBehaviorGets or sets a value that represents the behavior of a link.
LinkColorGets or sets the color used when displaying a normal link.
Links Gets the collection of links contained within the LinkLabel.
LinkVisitedGets or sets a value indicating whether a link should be displayed as though it were visited.
Padding Gets or sets the interior spacing, in pixels, between the edges of a LinkLabel and its contents.
PreferredHeight Gets the preferred height of the control. (Inherited from Label.)
PreferredWidth Gets the preferred width of the control. (Inherited from Label.)
TextOverridden.
TextAlignGets or sets the alignment of text in the label. (Inherited from Label.)
UseCompatibleTextRendering Gets or sets a value that specifies whether text rendering should be compatible with previous releases of Windows Forms.
UseMnemonicGets or sets a value indicating whether the control interprets an ampersand character (&) in the control's Text property to be an access key prefix character. (Inherited from Label.)
VisitedLinkColorGets or sets the color used when displaying a link that that has been previously visited.

Methods

CalcImageRenderBounds Determines the size and location of an image drawn within the Label control based on the alignment of the control. (Inherited from Label.)
CreateAccessibilityInstance Overridden. Creates a new accessibility object for the LinkLabel control.
CreateParams (Inherited from Label.)
DefaultImeMode Gets the default Input Method Editor (IME) mode supported by this control. (Inherited from Label.)
DefaultMargin Gets the space, in pixels, that is specified by default between controls. (Inherited from Label.)
DefaultSize (Inherited from Label.)
Dispose Overloaded. Releases the resources used by the Label. (Inherited from Label.)
DrawImage Draws an Image within the specified bounds. (Inherited from Label.)
GetPreferredSize (Inherited from Label.)
OverrideCursor Gets or sets the mouse pointer to use when the mouse pointer is within the bounds of the LinkLabel.
RenderTransparent Indicates whether the container control background is rendered on the Label. (Inherited from Label.)
Select Overloaded.
ToString (Inherited from Label.)

Events

ClickOccurs when the control is clicked. (Inherited from Control.)
LinkClicked Occurs when a link is clicked within the control.
TextAlignChanged Occurs when the value of the TextAlign property has changed. (Inherited from Label.)

© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext