C#里创建一个MaterialDesign3的导航条
本文里主要创建如下的窗口:
在这里就是实现左边的导航窗口的列表。
第一步先要定义下面的代码:
<Window x:Class="MDIXWindow.MainWindow"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"xmlns:mdixWindow="clr-namespace:MDIXWindow"xmlns:mdix="http://materialdesigninxaml.net/winfx/xaml/themes"mc:Ignorable=