mirror of
https://github.com/chibicitiberiu/drumkit.git
synced 2024-02-24 10:53:32 +00:00
84 lines
2.8 KiB
XML
84 lines
2.8 KiB
XML
<UserControl
|
|
x:Class="DrumKit.DrumkitsSettingsControl"
|
|
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"
|
|
d:DesignHeight="321.429"
|
|
d:DesignWidth="696.617">
|
|
|
|
<UserControl.Resources>
|
|
|
|
<Style x:Key="MyButtonStyle" TargetType="Button" BasedOn="{StaticResource TextButtonStyle}">
|
|
<Setter Property="Margin" Value="0,0,14,0" />
|
|
|
|
</Style>
|
|
|
|
</UserControl.Resources>
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<!-- Drumkit list -->
|
|
<ListView Name="listDrumkits"
|
|
Grid.Row="0" Grid.Column="0" />
|
|
|
|
<!-- Drumkit settings -->
|
|
<Grid Grid.Row="0" Grid.Column="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Style="{StaticResource TitleTextStyle}"
|
|
Grid.Row="0"
|
|
Margin="0,0,0,8">
|
|
Name:
|
|
</TextBlock>
|
|
|
|
<TextBox Name="textName"
|
|
Grid.Row="1"
|
|
IsReadOnly="True"
|
|
Margin="0,0,0,8"
|
|
Text="The name" />
|
|
|
|
<TextBlock Style="{StaticResource TitleTextStyle}"
|
|
Grid.Row="2" Margin="0,0,0,8">
|
|
Description:
|
|
</TextBlock>
|
|
|
|
<TextBox Name="textDescription"
|
|
Grid.Row="3" Margin="0,0,0,8"
|
|
IsReadOnly="True"
|
|
AcceptsReturn="True"
|
|
Text="The description" />
|
|
|
|
</Grid>
|
|
|
|
<!-- Buttons -->
|
|
<StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal">
|
|
<Button Style="{StaticResource MyButtonStyle}">Create</Button>
|
|
<Button Style="{StaticResource MyButtonStyle}">Import</Button>
|
|
<Border Width="20" />
|
|
<Button Style="{StaticResource MyButtonStyle}">Delete</Button>
|
|
<Button Style="{StaticResource MyButtonStyle}">Export</Button>
|
|
<Button Style="{StaticResource MyButtonStyle}">Set current</Button>
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|
|
|