mirror of
https://github.com/chibicitiberiu/drumkit.git
synced 2024-02-24 10:53:32 +00:00
106 lines
4.9 KiB
Plaintext
106 lines
4.9 KiB
Plaintext
|
<Page
|
||
|
x:Class="DrumKit.DrumkitManagerPage"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:local="using:DrumKit"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
mc:Ignorable="d">
|
||
|
|
||
|
<Page.Resources>
|
||
|
<Style x:Key="TabRadioButtonStyle" TargetType="RadioButton">
|
||
|
<Setter Property="FontSize" Value="26.667"/>
|
||
|
<Setter Property="FontWeight" Value="Light"/>
|
||
|
<Setter Property="Template">
|
||
|
<Setter.Value>
|
||
|
<ControlTemplate TargetType="RadioButton">
|
||
|
<Border Padding="10,5,10,5">
|
||
|
<VisualStateManager.VisualStateGroups>
|
||
|
<VisualStateGroup x:Name="CheckStates">
|
||
|
<VisualStateGroup.Transitions>
|
||
|
<VisualTransition GeneratedDuration="0:0:0.2"/>
|
||
|
</VisualStateGroup.Transitions>
|
||
|
<VisualState x:Name="Checked">
|
||
|
<Storyboard>
|
||
|
<ColorAnimation Duration="0" To="#59FFFF" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
||
|
</Storyboard>
|
||
|
</VisualState>
|
||
|
<VisualState x:Name="Unchecked">
|
||
|
<Storyboard>
|
||
|
<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
||
|
</Storyboard>
|
||
|
</VisualState>
|
||
|
<VisualState x:Name="Indeterminate">
|
||
|
<Storyboard>
|
||
|
<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
||
|
</Storyboard>
|
||
|
</VisualState>
|
||
|
</VisualStateGroup>
|
||
|
<VisualStateGroup x:Name="FocusStates"/>
|
||
|
<VisualStateGroup x:Name="CommonStates"/>
|
||
|
</VisualStateManager.VisualStateGroups>
|
||
|
<ContentPresenter x:Name="contentPresenter"/>
|
||
|
</Border>
|
||
|
</ControlTemplate>
|
||
|
</Setter.Value>
|
||
|
</Setter>
|
||
|
</Style>
|
||
|
</Page.Resources>
|
||
|
|
||
|
<Page.Transitions>
|
||
|
<TransitionCollection>
|
||
|
<EntranceThemeTransition />
|
||
|
</TransitionCollection>
|
||
|
</Page.Transitions>
|
||
|
|
||
|
<Border Background="{StaticResource ApplicationPageBackgroundThemeBrush}"
|
||
|
Padding="40">
|
||
|
<Grid >
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition />
|
||
|
<RowDefinition Height="Auto"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="*"/>
|
||
|
<ColumnDefinition Width="2*"/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
|
||
|
<Button x:ConnectionId='1' Name="buttonBack" Grid.Row="0" Grid.Column="0"
|
||
|
Style="{StaticResource BackButtonStyle}"
|
||
|
/>
|
||
|
|
||
|
<StackPanel Grid.Row="0" Grid.Column="1"
|
||
|
Orientation="Horizontal"
|
||
|
VerticalAlignment="Top">
|
||
|
<StackPanel.ChildrenTransitions>
|
||
|
<TransitionCollection>
|
||
|
<EntranceThemeTransition />
|
||
|
</TransitionCollection>
|
||
|
</StackPanel.ChildrenTransitions>
|
||
|
<RadioButton Name="radioDrumkit"
|
||
|
Style="{StaticResource TabRadioButtonStyle}"
|
||
|
IsChecked="True">
|
||
|
Drumkits
|
||
|
</RadioButton>
|
||
|
<RadioButton Name="radioDrums"
|
||
|
Style="{StaticResource TabRadioButtonStyle}">
|
||
|
Drums
|
||
|
</RadioButton>
|
||
|
<RadioButton Name="radioLayouts"
|
||
|
Style="{StaticResource TabRadioButtonStyle}">
|
||
|
Layouts
|
||
|
</RadioButton>
|
||
|
</StackPanel>
|
||
|
|
||
|
<ListView Name="mainList" Grid.Row="1" Grid.Column="0" />
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
</Page>
|
||
|
|