NavLink.RelativeToCurrentUri 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 whether the href should be resolved relative to the current URI.
When true, relative hrefs (e.g., "sibling") are resolved against the current route's
directory path and rendered as root-relative URLs (e.g., "/folder/sibling").
When false (default), the href is rendered as-is from the attribute value.
[Microsoft.AspNetCore.Components.Parameter]
public bool RelativeToCurrentUri { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.RelativeToCurrentUri : bool with get, set
Public Property RelativeToCurrentUri As Boolean
Property Value
- Attributes