SHARE
TWEET

Large Hor 2.0

a guest Apr 27th, 2018 120 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <Grid
  2.    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4.    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5.    xmlns:sys="clr-namespace:System;assembly=mscorlib"
  6.    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  7.    xmlns:zones="clr-namespace:LostTech.Stack.Zones;assembly=Stack"
  8.    mc:Ignorable="d"
  9.    zones:Layout.Version="2"
  10.    Width="1024" Height="576"
  11.    d:DesignWidth="1024"
  12.    d:DesignHeight="576"
  13. >
  14.   <!-- ===================================================================== -->
  15.   <!-- ! This file is overwritten after every update. Please, modify a copy! -->
  16.   <!-- ===================================================================== -->
  17.   <Grid.Resources>
  18.     <ResourceDictionary>
  19.       <sys:Double x:Key="GripSize">80</sys:Double>
  20.       <sys:Double x:Key="GripFontSize">40</sys:Double>
  21.     </ResourceDictionary>
  22.   </Grid.Resources>
  23.  
  24.   <Grid.ColumnDefinitions>
  25.     <ColumnDefinition Width="1*"/>
  26.     <ColumnDefinition Width="3*"/>
  27.   </Grid.ColumnDefinitions>
  28.   <Grid>
  29.     <Grid.RowDefinitions>
  30.       <RowDefinition Height="Auto"/>
  31.       <RowDefinition Height="*"/>
  32.     </Grid.RowDefinitions>
  33.  
  34.     <zones:WindowTabs>
  35.       <zones:WindowTabs.ItemsSource>
  36.         <CompositeCollection>
  37.           <zones:ZoneElement Content="{Binding ViewModel, Source={x:Reference SideStack}}"/>
  38.           <CollectionContainer Collection="{Binding Windows, Source={x:Reference SideSingle}}"/>
  39.         </CompositeCollection>
  40.       </zones:WindowTabs.ItemsSource>
  41.     </zones:WindowTabs>
  42.  
  43.     <Grid Grid.Row="1">
  44.       <zones:Zone x:Name="SideSingle" Id="Side" />
  45.       <zones:Zone x:Name="SideStack" Id="Side Stack">
  46.         <zones:Zone.Layout>
  47.           <ItemsPanelTemplate>
  48.             <UniformGrid Columns="1"/>
  49.           </ItemsPanelTemplate>
  50.         </zones:Zone.Layout>
  51.       </zones:Zone>
  52.  
  53.       <Border HorizontalAlignment="Center" VerticalAlignment="Center"
  54.          Width="160" Height="160" Background="#44F" zones:Layout.IsHint="True">
  55.         <!-- Find more symbols from Segoe UI Symbol in Character Map app -->
  56.         <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
  57.                    FontFamily="Segoe UI Symbol" Foreground="White" Text="" FontSize="80"/>
  58.       </Border>
  59.       <zones:Zone HorizontalAlignment="Center" VerticalAlignment="Center"
  60.                  Width="160" Height="160"
  61.                  Target="{Binding ElementName=SideSingle}"/>
  62.     </Grid>
  63.   </Grid>
  64.  
  65.   <Grid Grid.Column="1">
  66.     <Grid.RowDefinitions>
  67.       <RowDefinition Height="Auto"/>
  68.       <RowDefinition Height="*"/>
  69.     </Grid.RowDefinitions>
  70.  
  71.     <zones:WindowTabs>
  72.       <zones:WindowTabs.ItemsSource>
  73.         <CompositeCollection>
  74.           <CollectionContainer Collection="{Binding Windows, Source={x:Reference Main}}"/>
  75.           <CollectionContainer Collection="{Binding Windows, Source={x:Reference LeftMain}}"/>
  76.           <CollectionContainer Collection="{Binding Windows, Source={x:Reference RightMain}}"/>
  77.           <CollectionContainer Collection="{Binding Windows, Source={x:Reference TopMain}}"/>
  78.           <CollectionContainer Collection="{Binding Windows, Source={x:Reference BottomMain}}"/>
  79.         </CompositeCollection>
  80.       </zones:WindowTabs.ItemsSource>
  81.     </zones:WindowTabs>
  82.  
  83.     <zones:Zone x:Name="Main" Grid.Row="1"/>
  84.  
  85.     <Grid Grid.Row="1">
  86.       <Grid.ColumnDefinitions>
  87.         <ColumnDefinition Width="*"/>
  88.         <ColumnDefinition Width="*"/>
  89.       </Grid.ColumnDefinitions>
  90.       <Grid.RowDefinitions>
  91.         <RowDefinition Height="*"/>
  92.         <RowDefinition Height="*"/>
  93.       </Grid.RowDefinitions>
  94.  
  95.       <zones:Zone x:Name="LeftMain" Grid.Column="0" Grid.RowSpan="2"/>
  96.       <zones:Zone x:Name="RightMain" Grid.Column="1" Grid.RowSpan="2"/>
  97.       <zones:Zone x:Name="TopMain" Grid.Row="0" Grid.ColumnSpan="2"/>
  98.       <zones:Zone x:Name="BottomMain" Grid.Row="1" Grid.ColumnSpan="2"/>
  99.  
  100.       <zones:Zone Grid.Column="0" Grid.Row="0"/>
  101.       <zones:Zone Grid.Column="1" Grid.Row="0"/>
  102.       <zones:Zone Grid.Column="0" Grid.Row="1"/>
  103.       <zones:Zone Grid.Column="1" Grid.Row="1"/>
  104.  
  105.       <zones:Zone Grid.Column="0" Grid.RowSpan="2"
  106.                    Margin="{Binding Source={StaticResource GripSize}, Converter={StaticResource ThicknessConverter}}"
  107.                    Target="{Binding ElementName=LeftMain}"/>
  108.       <zones:Zone Grid.Column="1" Grid.RowSpan="2"
  109.                    Margin="{Binding Source={StaticResource GripSize}, Converter={StaticResource ThicknessConverter}}"
  110.                    Target="{Binding ElementName=RightMain}"/>
  111.  
  112.       <Border Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Width="{StaticResource GripSize}" Background="#44F"
  113.                zones:Layout.IsHint="True">
  114.         <!-- Find more symbols from Segoe UI Symbol in Character Map app -->
  115.         <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
  116.                   FontFamily="Segoe UI Symbol" Foreground="White" Text="" FontSize="{StaticResource GripFontSize}"/>
  117.       </Border>
  118.       <zones:Zone Grid.Row="0" Grid.ColumnSpan="2"
  119.                    HorizontalAlignment="Center" Width="{StaticResource GripSize}"
  120.                    Target="{Binding ElementName=TopMain}"/>
  121.       <Border Grid.Row="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" Width="{StaticResource GripSize}" Background="#44F"
  122.                zones:Layout.IsHint="True">
  123.         <!-- Find more symbols from Segoe UI Symbol in Character Map app -->
  124.         <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
  125.                   FontFamily="Segoe UI Symbol" Foreground="White" Text="" FontSize="{StaticResource GripFontSize}"/>
  126.       </Border>
  127.       <zones:Zone Grid.Row="1" Grid.ColumnSpan="2"
  128.                    HorizontalAlignment="Center" Width="{StaticResource GripSize}"
  129.                    Target="{Binding ElementName=BottomMain}"/>
  130.     </Grid>
  131.  
  132.     <Border Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
  133.            zones:Layout.IsHint="True"
  134.            Width="160" Height="160" Background="#44F">
  135.       <!-- Find more symbols from Segoe UI Symbol in Character Map app -->
  136.       <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
  137.                   FontFamily="Segoe UI Symbol" Foreground="White" Text="" FontSize="80"/>
  138.     </Border>
  139.     <zones:Zone Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
  140.                Width="160" Height="160"
  141.                Target="{Binding ElementName=Main}"/>
  142.   </Grid>
  143. </Grid>
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
 
Top