NavLinkExtensionsShouldExpand(NavigationManager, String, NavLinkMatch) Method

Whether the specified href should be expanded.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static bool ShouldExpand(
	this NavigationManager navigationManager,
	string? href,
	NavLinkMatch match
)

Parameters

navigationManager  NavigationManager
Navigation Manager we're using.
href  String
URL to test against. Can be left empty.
match  NavLinkMatch
The Navigation Link's behavior.

Return Value

Boolean
if href's URL should be expanded.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NavigationManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also