NavLink.ActiveClass Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the CSS class name applied to the NavLink when the current route matches the 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
Property Value
- Attributes