1 <SwapChainBackgroundPanel
2 x:Class="tbbTachyon.DirectXPage"
3 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5 xmlns:local="using:tbbTachyon"
6 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
10 <SwapChainBackgroundPanel.RowDefinitions>
11 <RowDefinition Height="15*"/>
12 <RowDefinition Height="17*"/>
13 </SwapChainBackgroundPanel.RowDefinitions>
14 <Page Grid.RowSpan="2" Background="Black" MinHeight="100" MaxHeight="100">
16 <AppBar Padding="10,0,10,0">
18 <Grid.ColumnDefinitions>
19 <ColumnDefinition Width="*" />
20 <ColumnDefinition Width="100" />
21 <ColumnDefinition Width="100" />
22 </Grid.ColumnDefinitions>
23 <TextBlock Grid.Column="0" x:Name="NumberOfThreadsTextBlock" Text="Number Of Threads: Auto" TextAlignment="Center" TextWrapping="Wrap" Height="54" FontSize="20" VerticalAlignment="Top" HorizontalAlignment="Center"/>
24 <Slider Grid.Column="0" x:Name="ThreadsSlider" Minimum="0" Maximum="16" TickFrequency="1" TickPlacement="Outside" ValueChanged="ThreadsSliderValueChanged" Height="37" StepFrequency="1" IsThumbToolTipEnabled="False" />
25 <Button Grid.Column="1" x:Name="ThreadsApply" Style="{StaticResource YesAppBarButtonStyle}" Tag="Apply this number of threads" AutomationProperties.Name="Apply" Click="ThreadsApply_Click" HorizontalAlignment="Right" Visibility="Collapsed"/>
26 <Button Grid.Column="2" x:Name="Exit" Style="{StaticResource NoAppBarButtonStyle}" Tag="Exit" Click="Exit_Click" AutomationProperties.Name="Exit" HorizontalAlignment="Right" />
31 </SwapChainBackgroundPanel>