Share via


NavLink.ActiveClass Propiedad

Definición

Obtiene o establece el nombre de clase CSS aplicado a NavLink cuando la ruta actual coincide con navLink href.

public:
 property System::String ^ ActiveClass { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public string ActiveClass { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public string? ActiveClass { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.ActiveClass : string with get, set
Public Property ActiveClass As String

Valor de propiedad

Atributos

Se aplica a