Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <SplitView Name="mySplitView" Grid.Row="1" OpenPaneLength="240"
- DisplayMode="CompactOverlay" CompactPaneLength="36">
- <SplitView.Pane>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <ListBox x:Name="menu" Grid.Row ="2" SelectionMode="Single" SelectionChanged="ListBox_SelectionChanged">
- <ListBoxItem IsHoldingEnabled="False" IsTapEnabled="False" HorizontalAlignment="Left" VerticalAlignment="Top" Padding="0" UseLayoutRounding="True" Width="36" Height="36" >
- <Button x:Name="HamburgerButton2"
- FontFamily="Segoe MDL2 Assets" FontSize="16"
- Content="" Click="HamburgerButton_Click" Margin="0" Background="{ThemeResource ListBoxItemSelectedBackgroundThemeBrush}" VerticalAlignment="Center" Width="38" Height="36" HorizontalAlignment="Center" Padding="0"/>
- </ListBoxItem>
- <ListBoxItem Name="MyPage" Padding="10,10,15,10">
- <StackPanel Orientation="Horizontal">
- <TextBlock FontSize="16" FontFamily="Segoe MDL2 Assets" Text="" />
- <TextBlock FontSize="16" Text="Моя страница" Margin="10 0 0 0" />
- </StackPanel>
- </ListBoxItem>
- <ListBoxItem Name="Groups" Padding="10,10,15,10">
- <StackPanel Orientation="Horizontal">
- <TextBlock FontSize="16" FontFamily="Segoe MDL2 Assets" Text=""/>
- <TextBlock FontSize="16" Text="Сообщества" Margin="10 0 0 0" />
- </StackPanel>
- </ListBoxItem>
- </ListBox>
- <ListBox VerticalAlignment="Center" HorizontalAlignment="Center" Grid.RowSpan="2" SelectionChanged="ListBox_SelectionChanged">
- <ListBoxItem Name="Login">
- <StackPanel Orientation="Horizontal">
- <Image x:Name="Login_Image" Visibility="Collapsed" Width="30" Height="30" Margin="0" HorizontalAlignment="Left"/>
- <TextBlock x:Name="Login_Icon" FontSize="16" FontFamily="Segoe MDL2 Assets" Text=""/>
- <TextBlock x:Name="Login_Text" FontSize="16" Text="Войти" Margin="10 0 0 0"/>
- </StackPanel>
- </ListBoxItem>
- </ListBox>
- </Grid>
- </SplitView.Pane>
- <SplitView.Content>
- <Frame Name="Content"/>
- </SplitView.Content>
- </SplitView>
- </Grid>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement