NavLink.ActiveClass Proprietà

Definizione

Ottiene o imposta il nome della classe CSS applicato al NavLink quando la route corrente corrisponde a 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

Valore della proprietà

Attributi

Si applica a