SHARE
TWEET

StackOvewFlow_code_question

a guest Jan 5th, 2017 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <Page x:Name="AppMainPage"
  2.    x:Class="FoxMovieStoreMain.MainPage"
  3.    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4.    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5.    xmlns:local="using:FoxMovieStoreMain"
  6.    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7.    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8.    mc:Ignorable="d">
  9.  
  10.     <Grid x:Name="GridToMainPage">
  11.         <Grid.RowDefinitions>
  12.             <RowDefinition Height="Auto"/>
  13.             <RowDefinition Height="*"/>
  14.         </Grid.RowDefinitions>
  15.         <RelativePanel x:Name="RelatMainPanelTop" Background="#FFFF6800">
  16.  
  17.             <Button x:Name="HamburgerMenuButton" Content="&#xE700;" FontFamily="Segoe MDL2 Assets" FontSize="22" VerticalAlignment="Stretch" Background="#FFFF6800" Height="39.5" Width="{Binding CompactPaneLength, ElementName=MainSplitView}" Click="OnHaburgerButtonClick"/>
  18.             <TextBlock x:Name="NavigationTitle" Text="Início" RelativePanel.RightOf="HamburgerMenuButton" Margin="10,0,0,0" FontSize="30" FontWeight="Bold"/>
  19.             <TextBox x:Name="MainSearchTextBox" Width="200" PlaceholderText="Buscar" RelativePanel.AlignVerticalCenterWithPanel="True" RelativePanel.LeftOf="MainSearchButtom"/>
  20.             <Button x:Name="MainSearchButtom" Content="&#xE1A3;" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RelativePanel.AlignRightWithPanel="True" RelativePanel.AlignVerticalCenterWithPanel="True" FontFamily="Segoe MDL2 Assets" FontSize="20" Margin="0,0,10,0"/>
  21.  
  22.         </RelativePanel>
  23.  
  24.         <SplitView x:Name="MainSplitView" Grid.Row="1" DisplayMode="CompactOverlay" CompactPaneLength="43" OpenPaneLength="{Binding Width, ElementName=HamburgerMenuListView1}">
  25.             <SplitView.Pane>
  26.                 <RelativePanel x:Name="MainSplitRelativPanel">
  27.  
  28.                     <ListView x:Name="HamburgerMenuListView1">
  29.                         <ListViewItem x:Name="HomeSplittem">
  30.                             <StackPanel x:Name="HomeStackPanelViewItem" Orientation="Horizontal">
  31.                                 <TextBlock x:Name="HomeIconSplitItem" FontFamily="Segoe MDL2 Assets" FontSize="18" Text="&#xE80F;" VerticalAlignment="Center" SelectionHighlightColor="#FFFF6800"/>
  32.                                 <TextBlock x:Name="HomeTextSplitItem" FontSize="18" Text="Início" Margin="12.5,0,0,0" SelectionHighlightColor="#FFFF6800"/>
  33.                             </StackPanel>
  34.                         </ListViewItem>
  35.  
  36.                         <ListViewItem x:Name="PersonsSplitItem">
  37.                             <StackPanel x:Name="PersonsStackPanelViewItem" Orientation="Horizontal">
  38.                                 <TextBlock x:Name="PersonsIconSplitItem" FontFamily="Segoe MDL2 Assets" FontSize="18" Text="&#xE716;" VerticalAlignment="Center" SelectionHighlightColor="#FFFF6800"/>
  39.                                 <TextBlock x:Name="PersonsTextSplitItem" FontSize="18" Text="Pessoas" Margin="12.5,0,0,0" SelectionHighlightColor="#FFFF6800"/>
  40.                             </StackPanel>
  41.                         </ListViewItem>
  42.  
  43.                         <ListViewItem x:Name="MediaSplitItem">
  44.                             <StackPanel x:Name="MediaStackPanelViewItem" Orientation="Horizontal">
  45.                                 <TextBlock x:Name="MediaIconSplitItem" FontFamily="Segoe MDL2 Assets" FontSize="18" Text="&#xE8F1;" VerticalAlignment="Center" SelectionHighlightColor="#FFFF6800"/>
  46.                                 <TextBlock x:Name="MediaTextSplitItem" FontSize="18" Text="Mídias" Margin="12.5,0,0,0" SelectionHighlightColor="#FFFF6800"/>
  47.                             </StackPanel>
  48.                         </ListViewItem>
  49.  
  50.                         <ListViewItem x:Name="MovementsSplitItem">
  51.                             <StackPanel x:Name="MovementsStackPanelViewItem" Orientation="Horizontal">
  52.                                 <TextBlock x:Name="MovementsIconSplitItem" FontFamily="Segoe MDL2 Assets" FontSize="18" Text="&#xE7BF;" VerticalAlignment="Center" SelectionHighlightColor="#FFFF6800"/>
  53.                                 <TextBlock x:Name="MovementsTextSplitItem" FontSize="18" Text="Movimentações" Margin="12.5,0,0,0" SelectionHighlightColor="#FFFF6800"/>
  54.                             </StackPanel>
  55.                         </ListViewItem>
  56.  
  57.                         <ListViewItem x:Name="CashDeskSplitItem">
  58.                             <StackPanel x:Name="CashDeskStackPanelViewItem" Orientation="Horizontal">
  59.                                 <TextBlock x:Name="CashDeskIconSplitItem" FontFamily="Segoe MDL2 Assets" FontSize="18" Text="&#xE75F;" VerticalAlignment="Center" SelectionHighlightColor="#FFFF6800"/>
  60.                                 <TextBlock x:Name="CashDeskTextSplitItem" FontSize="18" Text="Caixa" Margin="12.5,0,0,0" SelectionHighlightColor="#FFFF6800"/>
  61.                             </StackPanel>
  62.                         </ListViewItem>
  63.  
  64.                         <ListViewItem x:Name="ReportsSplitItem">
  65.                             <StackPanel x:Name="ReportsStackPanelViewItem" Orientation="Horizontal">
  66.                                 <TextBlock x:Name="ReportsIconSplitItem" FontFamily="Segoe MDL2 Assets" FontSize="18" Text="&#xEB05;" VerticalAlignment="Center" SelectionHighlightColor="#FFFF6800"/>
  67.                                 <TextBlock x:Name="ReportsTextSplitItem" FontSize="18" Text="Relatórios" Margin="12.5,0,0,0" SelectionHighlightColor="#FFFF6800"/>
  68.                             </StackPanel>
  69.                         </ListViewItem>
  70.  
  71.                         <ListViewItem x:Name="ConfigSplitItem">
  72.                             <StackPanel x:Name="ConfigStackPanelViewItem" Orientation="Horizontal">
  73.                                 <TextBlock x:Name="ConfigIconSplitItem" FontSize="18" Text="&#xE90F;" FontFamily="Segoe MDL2 Assets" VerticalAlignment="Center"/>
  74.                                 <TextBlock x:Name="ConfiTextSplitItem" FontSize="18" Text="Configurações" Margin="12.5,0,0,0"/>
  75.                             </StackPanel>
  76.                         </ListViewItem>
  77.  
  78.                     </ListView>
  79.  
  80.                     <ListView x:Name="HambugerMenuListView2" RelativePanel.AlignBottomWithPanel="True"  HorizontalAlignment="Stretch" Margin="0,0,0,20" Width="181">
  81.                         <ListViewItem x:Name="LoginSplitItem" HorizontalAlignment="Stretch">
  82.                             <StackPanel x:Name="LoginStackPanelViewItem" Orientation="Horizontal" HorizontalAlignment="Stretch">
  83.                                 <TextBlock x:Name="LoginIconSplitItem" FontSize="18" Text="&#xE8D7;" FontFamily="Segoe MDL2 Assets" VerticalAlignment="Center"/>
  84.                                 <TextBlock x:Name="LoginTextSplitItem" FontSize="18" Text="User Name" Margin="12.5,0,0,0"/>
  85.                             </StackPanel>
  86.                         </ListViewItem>
  87.                     </ListView>
  88.  
  89.                 </RelativePanel>
  90.             </SplitView.Pane>
  91.         </SplitView>
  92.     </Grid>
  93. </Page>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top