mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
23 lines
1.1 KiB
XML
23 lines
1.1 KiB
XML
<UserControl x:Class="Artemis.UI.Views.SidebarView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:interfaces="clr-namespace:Artemis.UI.ViewModels.Interfaces"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="300" d:DesignWidth="300">
|
|
<ListBox Margin="0 16 0 16"
|
|
SelectedIndex="0"
|
|
ItemsSource="{Binding MenuItems}">
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate DataType="interfaces:IArtemisViewModel">
|
|
<StackPanel Orientation="Horizontal">
|
|
<materialDesign:PackIcon Kind="{Binding Icon}" />
|
|
<TextBlock Text="{Binding Title}" Margin="32 0 32 0" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
</ListBox>
|
|
</UserControl>
|