LinkLabel::Link::Enabled Property

 

Gets or sets a value indicating whether the link is enabled.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property bool Enabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the link is enabled; otherwise, false.

You can use this property to display a link in a disabled state within the LinkLabel control. When a link is disabled, clicking on the link does not cause the LinkLabel control to raise the LinkClicked event.

.NET Framework
Available since 1.1
Return to top
Show: