Kumo.Uwp.NavigationView.RailStyle
1.1.0
See the version list below for details.
dotnet add package Kumo.Uwp.NavigationView.RailStyle --version 1.1.0
NuGet\Install-Package Kumo.Uwp.NavigationView.RailStyle -Version 1.1.0
<PackageReference Include="Kumo.Uwp.NavigationView.RailStyle" Version="1.1.0" />
<PackageVersion Include="Kumo.Uwp.NavigationView.RailStyle" Version="1.1.0" />
<PackageReference Include="Kumo.Uwp.NavigationView.RailStyle" />
paket add Kumo.Uwp.NavigationView.RailStyle --version 1.1.0
#r "nuget: Kumo.Uwp.NavigationView.RailStyle, 1.1.0"
#:package Kumo.Uwp.NavigationView.RailStyle@1.1.0
#addin nuget:?package=Kumo.Uwp.NavigationView.RailStyle&version=1.1.0
#tool nuget:?package=Kumo.Uwp.NavigationView.RailStyle&version=1.1.0
Kumo.Uwp.NavigationView.RailStyle
Rail-style NavigationView templates and helper attached properties for UWP with WinUI 2.
Usage
Merge the resource dictionary after XamlControlsResources:
<ResourceDictionary.MergedDictionaries>
<muxc:XamlControlsResources xmlns:muxc="using:Microsoft.UI.Xaml.Controls" />
<rail:RailNavigationViewResources xmlns:rail="using:Kumo.WinUI.NavigationView.RailStyle" />
</ResourceDictionary.MergedDictionaries>
Apply the style explicitly:
<muxc:NavigationView Style="{StaticResource RailNavigationViewStyle}" />
Optional item helpers live in Kumo.WinUI.NavigationView.RailStyle.Helpers.NavItemIconHelper.
Source Notice
Styles/CustomNavigationViewStyle.xaml is derived from Microsoft AI Dev Gallery's NavigationView.xaml, licensed under the MIT License. The UWP version keeps the template body aligned with the WinUI version, with WinUI 2 namespace prefixes where UWP XAML requires them.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows10.0.26100 is compatible. |
-
net10.0-windows10.0.26100
- CommunityToolkit.Uwp.Animations (>= 8.2.251219)
- CommunityToolkit.Uwp.Extensions (>= 8.2.251219)
- Microsoft.UI.Xaml (>= 2.8.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.