-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathModsControl.xaml
More file actions
23 lines (23 loc) · 1.32 KB
/
ModsControl.xaml
File metadata and controls
23 lines (23 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<UserControl x:Class="Torch.Server.ModsControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d">
<StackPanel Margin="0,0,0,0" Orientation="Vertical">
<Label Content="Mods" Margin="5,5,5,5"/>
<ListView x:Name="ModList" HorizontalAlignment="Left" Height="265" VerticalAlignment="Top" Width="300" Margin="5,5,5,5" MouseDoubleClick="modList_OnMouseDoubleClick">
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding FriendlyName}" ToolTip="{Binding Description}"/>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<DockPanel>
<Button x:Name="RemBtn" Width="70" Content="Remove" Margin="3" Click="remBtn_Click" DockPanel.Dock="Right"/>
<Button x:Name="AddBtn" Width="70" Content="Add" Click="addBtn_Click" Margin="3" DockPanel.Dock="Right"/>
<Label Content="Mod ID:"/>
<TextBox x:Name="ModIdBox" Margin="3" DockPanel.Dock="Left"/>
</DockPanel>
</StackPanel>
</UserControl>