-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSelectEffectsPage.xaml
More file actions
64 lines (63 loc) · 2.53 KB
/
SelectEffectsPage.xaml
File metadata and controls
64 lines (63 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<Page
x:Class="Command_Generator.SelectEffectsPage"
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:local="using:Command_Generator"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
muxc:BackdropMaterial.ApplyToRootOrPageBackground="True"
mc:Ignorable="d">
<Grid>
<StackPanel
HorizontalAlignment="Center"
VerticalAlignment="Center"
Orientation="Horizontal">
<StackPanel Width="300">
<TextBlock
Margin="0,0,0,10"
FontSize="20"
Text="Selected Effects" />
<ListView
x:Name="SelectedEffectsListView"
Width="300"
Height="400"
Margin="0,0,10,0"
SelectionMode="Multiple">
<ListView.ItemTemplate>
<DataTemplate x:DataType="local:Effect">
<TextBlock FontSize="16" Text="{x:Bind Name}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<Button Click="RemoveSelectedEffects_Click" Content="Remove Selected" />
</StackPanel>
<StackPanel Width="300">
<TextBlock
Margin="0,0,0,10"
FontSize="20"
Text="All Effects" />
<ListView
x:Name="AllEffectsListView"
Width="300"
Height="400"
Margin="0,0,10,0"
SelectionMode="Multiple">
<ListView.ItemTemplate>
<DataTemplate x:DataType="local:Effect">
<TextBlock FontSize="16" Text="{x:Bind Name}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<Button Click="AddSelectedEffects_Click" Content="Add Selected" />
</StackPanel>
</StackPanel>
<Button
Margin="0,10,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Bottom"
Click="NextPage_Click"
Content="Next" />
</Grid>
</Page>