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
ActiveLinkColor | Gets 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.) |
AutoSize | Gets or sets a value indicating whether the control is automatically resized to display its entire contents. (Inherited from Label.) |
BackColor | Gets 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.) |
BorderStyle | Gets or sets the border style for the control. (Inherited from Label.) |
DisabledLinkColor | Gets or sets the color used when displaying a disabled link. |
FlatStyle | Gets or sets the flat style appearance of the LinkLabel. |
ForeColor | Gets or sets the foreground color of the control. (Inherited from Control.) |
Image | Gets or sets the image that is displayed on a Label. (Inherited from Label.) |
ImageAlign | Gets or sets the alignment of an image that is displayed in the control. (Inherited from Label.) |
ImageIndex | Gets or sets the index value of the image displayed on the Label. (Inherited from Label.) |
ImageKey | Gets or sets the key accessor for the image in the ImageList. (Inherited from Label.) |
ImageList | Gets or sets the ImageList that contains the images to display in the Label control. (Inherited from Label.) |
LinkArea | Gets or sets the range in the text to treat as a link. |
LinkBehavior | Gets or sets a value that represents the behavior of a link. |
LinkColor | Gets or sets the color used when displaying a normal link. |
Links | Gets the collection of links contained within the LinkLabel. |
LinkVisited | Gets 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.) |
Text | Overridden. |
TextAlign | Gets 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. |
UseMnemonic | Gets 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.) |
VisitedLinkColor | Gets 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
Click | Occurs 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.) |
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext