Untitled
unknown
plain_text
2 years ago
15 kB
6
Indexable
<Window x:Class="MDK_Scherbinin.Practice_4.Win_StartMain"
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:local="clr-namespace:MDK_Scherbinin.Practice_4"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
Title="MDK ID: Сборник практических работ по МДК01.01" Height="750" Width="1000">
<Grid Background="#FFFF68A5">
<Grid.RowDefinitions>
<RowDefinition Height="70"/>
<RowDefinition Height="680"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding ElementName=frmMain, Path=Content.Title}" Grid.Row="0" FontFamily="Bahnschrift SemiBold" HorizontalAlignment="Center"
VerticalAlignment="Center" FontSize="35" Foreground="White"/>
<Frame Name="frmMain" NavigationUIVisibility="Hidden" Grid.Row="1"/>
<materialDesign:DrawerHost Grid.RowSpan="2" Panel.ZIndex="1">
<materialDesign:ColorZone Mode="PrimaryLight" Padding="16" Background="{x:Null}">
<StackPanel Orientation="Horizontal">
<ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}"
Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}"
CommandParameter="{x:Static Dock.Left}"/>
</StackPanel>
</materialDesign:ColorZone>
<materialDesign:DrawerHost.LeftDrawerContent>
<ListBox Background="Transparent" BorderThickness="0" SelectedIndex="0">
<ListBoxItem MouseLeftButtonUp="Button_Home_Click">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="Home" Margin="15"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Главная" FontSize="18"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem MouseLeftButtonUp="ListBoxItem_Pratice3_Click">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="File" Margin="15 15 0 15"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Практическая работа №3" FontSize="15"/>
</StackPanel>
</ListBoxItem>
<Expander IsExpanded="False">
<Expander.Header>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="File" Margin="-10 5 0 5"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Практическая работа №5" FontSize="15"/>
</StackPanel>
</Expander.Header>
<Expander.Content>
<ListBox Background="Transparent" BorderThickness="0">
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 1"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 2"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 3"/>
</StackPanel>
</ListBoxItem>
</ListBox>
</Expander.Content>
</Expander>
<Expander IsExpanded="False">
<Expander.Header>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="File" Margin="-10 5 0 5"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Практическая работа №7" FontSize="15"/>
</StackPanel>
</Expander.Header>
<Expander.Content>
<ListBox Background="Transparent" BorderThickness="0">
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 1"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 2"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 3"/>
</StackPanel>
</ListBoxItem>
</ListBox>
</Expander.Content>
</Expander>
<Expander IsExpanded="False">
<Expander.Header>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="File" Margin="-10 5 0 5"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Практическая работа №8" FontSize="15"/>
</StackPanel>
</Expander.Header>
<Expander.Content>
<ListBox Background="Transparent" BorderThickness="0">
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 1"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 2"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 3"/>
</StackPanel>
</ListBoxItem>
</ListBox>
</Expander.Content>
</Expander>
<Expander IsExpanded="False">
<Expander.Header>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="File" Margin="-10 5 0 5"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Практическая работа №9" FontSize="15"/>
</StackPanel>
</Expander.Header>
<Expander.Content>
<ListBox Background="Transparent" BorderThickness="0">
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 1"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 2"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 3"/>
</StackPanel>
</ListBoxItem>
</ListBox>
</Expander.Content>
</Expander>
<Expander IsExpanded="False">
<Expander.Header>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="File" Margin="-10 5 0 5"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Практическая работа №10" FontSize="15"/>
</StackPanel>
</Expander.Header>
<Expander.Content>
<ListBox Background="Transparent" BorderThickness="0">
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 1"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 2"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 3"/>
</StackPanel>
</ListBoxItem>
</ListBox>
</Expander.Content>
</Expander>
<Expander IsExpanded="False">
<Expander.Header>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="File" Margin="-10 5 0 5"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Практическая работа №11" FontSize="15"/>
</StackPanel>
</Expander.Header>
<Expander.Content>
<ListBox Background="Transparent" BorderThickness="0">
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 1"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 2"/>
</StackPanel>
</ListBoxItem>
<ListBoxItem>
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="PageLayoutHeader" Margin="32"/>
<TextBlock VerticalAlignment="Center" Margin="16 0 0 0" Text="Страница 3"/>
</StackPanel>
</ListBoxItem>
</ListBox>
</Expander.Content>
</Expander>
</ListBox>
</materialDesign:DrawerHost.LeftDrawerContent>
</materialDesign:DrawerHost>
</Grid>
</Window>Editor is loading...
Leave a Comment