Редагувати

Поділитися через


LinkLabel.Link.Enabled Property

Definition

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

public:
 property bool Enabled { bool get(); void set(bool value); };
public bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

Property Value

true if the link is enabled; otherwise, false.

Remarks

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.

Applies to

See also