LinkLabel.Link.Enabled Propiedad

Definición

Obtiene o establece un valor que indica si el vínculo está habilitado.

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

Valor de propiedad

true si el vínculo está habilitado; de lo contrario, false.

Comentarios

Puede usar esta propiedad para mostrar un vínculo en un estado deshabilitado dentro del LinkLabel control. Cuando se deshabilita un vínculo, al hacer clic en el vínculo no se provoca que el LinkLabel control genere el LinkClicked evento.

Se aplica a

Consulte también