.NET Windows Forms in a Nutshell

LinkLabel.Link

System. Windows .Forms (system. windows .forms.dll) class

This class encapsulates a section of link text within a LinkLabel control.

It allows you to set the Start and Length of the link, whether it is Enabled or has been Visited , and also the LinkData an arbitrary object you can associate with the link.

public class LinkLabel.Link { // Public Instance Properties public bool Enabled {set; get; } public int Length {set; get; } public object LinkData {set; get; } public int Start {set; get; } public bool Visited {set; get; } }

Категории