NavLinkExtensionsShouldExpand(NavigationManager, String, NavLinkMatch) Method
Whether the specified href should be expanded.
Namespace: BlazorBootstrapAssembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static bool ShouldExpand(
this NavigationManager navigationManager,
string? href,
NavLinkMatch match
)
- navigationManager NavigationManager
- Navigation Manager we're using.
- href String
- URL to test against. Can be left empty.
- match NavLinkMatch
- The Navigation Link's behavior.
Boolean if
href's URL should be expanded.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).