mirror of https://github.com/BrianLima/UWPHook
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
3.3 KiB
Plaintext
58 lines
3.3 KiB
Plaintext
8 years ago
|
<Window x:Class="UWPHook.GamesWindow"
|
||
|
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||
|
xmlns:local="clr-namespace:UWPHook"
|
||
|
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
||
|
Background="{DynamicResource MaterialDesignPaper}"
|
||
|
TextElement.FontWeight="Medium"
|
||
|
TextElement.FontSize="14"
|
||
|
FontFamily="Segoe UI Light"
|
||
|
mc:Ignorable="d"
|
||
|
Title="GamesWindow" Height="600" Width="800">
|
||
|
<Grid x:Name="grid">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="28*"/>
|
||
|
<RowDefinition Height="144*"/>
|
||
|
<RowDefinition Height="19*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<materialDesign:ColorZone Padding="16" materialDesign:ShadowAssist.ShadowDepth="Depth2" Mode="PrimaryMid" Height="78"/>
|
||
|
|
||
|
<Button Click="Button_Click_1" Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||
|
Margin="0,51,10,0" HorizontalAlignment="Right"
|
||
|
ToolTip="Load installed UWP Apps" VerticalAlignment="Top" Grid.RowSpan="2">
|
||
|
<materialDesign:PackIcon Kind="Reload" Height="24" Width="24" />
|
||
|
</Button>
|
||
|
<Grid Margin="10" Grid.Row="1">
|
||
|
<ItemsControl Grid.IsSharedSizeScope="True" x:Name="listGames" Margin="0,0,0,10">
|
||
|
<ItemsControl.ItemTemplate>
|
||
|
<DataTemplate>
|
||
|
<Border x:Name="Border" Padding="8" BorderThickness="0 0 0 1" BorderBrush="{DynamicResource MaterialDesignDivider}">
|
||
|
<Grid>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition SharedSizeGroup="Checkerz" />
|
||
|
<ColumnDefinition />
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<ToggleButton VerticalAlignment="Center" IsChecked="{Binding IsSelected}"
|
||
|
Style="{StaticResource MaterialDesignActionLightToggleButton}" />
|
||
|
<StackPanel Margin="8 0 0 0" Grid.Column="1">
|
||
|
<TextBox FontWeight="Bold" Text="{Binding Name}" />
|
||
|
<TextBlock Text="{Binding Aumid}" />
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
<DataTemplate.Triggers>
|
||
|
<DataTrigger Binding="{Binding IsSelected}" Value="True">
|
||
|
<Setter TargetName="Border" Property="Background" Value="{DynamicResource MaterialDesignSelection}" />
|
||
|
</DataTrigger>
|
||
|
</DataTemplate.Triggers>
|
||
|
</DataTemplate>
|
||
|
</ItemsControl.ItemTemplate>
|
||
|
</ItemsControl>
|
||
|
</Grid>
|
||
|
<Button x:Name="button" Content="Export selected Apps to Steam" Click="button_Click" HorizontalAlignment="Right" Margin="0,0,10,10" Grid.Row="2" VerticalAlignment="Bottom" Width="227"/>
|
||
|
</Grid>
|
||
|
</Window>
|