System.Windows.Forms.LinkArea.Length Property

Gets or sets the number of characters in the link area.

Syntax

public int Length { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

To specify text from the System.Windows.Forms.LinkLabel to display as a link, set the LinkArea.Start property to the location in the text to start creating the link. After the LinkArea.Start property is set, set the value of the LinkArea.Length property to the number of characters, including the character position specified in the LinkArea.Start property, that you want to make the link text. For example, if you want to make the first word of the text "The quick brown fox" a link, you set the LinkArea.Start property to zero (0) and the LinkArea.Length property to three (3).

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0