-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBehaviorSelectionWindow.xaml
More file actions
45 lines (40 loc) · 2.18 KB
/
BehaviorSelectionWindow.xaml
File metadata and controls
45 lines (40 loc) · 2.18 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
<Window x:Class="Sm64DecompLevelViewer.BehaviorSelectionWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Select Behavior" Height="450" Width="400"
WindowStartupLocation="CenterOwner"
Background="#1E1E1E" Foreground="#CCCCCC"
ResizeMode="NoResize" ShowInTaskbar="False">
<Window.Resources>
<SolidColorBrush x:Key="PanelBackground" Color="#252526"/>
<SolidColorBrush x:Key="BorderBrush" Color="#3F3F46"/>
<SolidColorBrush x:Key="AccentBrush" Color="#007ACC"/>
</Window.Resources>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Text="Search Behavior:" Margin="0,0,0,5" FontWeight="Bold"/>
<TextBox x:Name="SearchTextBox" Grid.Row="1" Margin="0,0,0,10"
Background="#333333" Foreground="White" BorderBrush="{StaticResource BorderBrush}"
Padding="3" TextChanged="SearchTextBox_TextChanged"/>
<ListBox x:Name="BehaviorListBox" Grid.Row="2" Margin="0,0,0,10"
Background="#333333" Foreground="White" BorderBrush="{StaticResource BorderBrush}"
MouseDoubleClick="BehaviorListBox_MouseDoubleClick">
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="Padding" Value="5,2"/>
</Style>
</ListBox.ItemContainerStyle>
</ListBox>
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="Select" Click="SelectButton_Click" Width="80" Margin="0,0,10,0"
Background="#007ACC" Foreground="White" BorderThickness="0" Padding="5"/>
<Button Content="Cancel" Click="CancelButton_Click" Width="80"
Background="#3E3E42" Foreground="White" BorderThickness="0" Padding="5"/>
</StackPanel>
</Grid>
</Window>