NavLink.ActiveClass 屬性

定義

取得或設定當目前路由符合 NavLink href 時套用至 NavLink 的 CSS 類別名稱。

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

屬性值

屬性

適用於