LinkLabel.Link.Start Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the starting location of the link within the text of the LinkLabel.
public:
property int Start { int get(); void set(int value); };
public int Start { get; set; }
member this.Start : int with get, set
Public Property Start As Integer
The location within the text of the LinkLabel control where the link starts.
To specify text from the LinkLabel to display as a link, set the Start property to the location in the text to start creating the link. After the Start property is set, set the value of the Length property to the number of characters, including the character position specified in the 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 Start property to zero (0) and the Length property to three (3).
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: