-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathModItem_UserControl.xaml
49 lines (40 loc) · 2.23 KB
/
ModItem_UserControl.xaml
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
<UserControl x:Class="TD_Loader.ModItem_UserControl"
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"
xmlns:local="clr-namespace:TD_Loader"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
mc:Ignorable="d"
d:DesignHeight="27" d:DesignWidth="800">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Resources/Resources.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid MaxHeight="27" Width="auto" Background="#FF363636">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="10"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="10"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="10"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="10"/>
</Grid.ColumnDefinitions>
<CheckBox x:Name="Enable_CheckBox" IsChecked="False" Style="{StaticResource ToggleButton}" Grid.Column="1" MinWidth="120" MinHeight="20" Click="CheckBox_Clicked"/>
<Canvas Background="#FF424242" Grid.Column="3">
</Canvas>
<Viewbox Grid.Column="3" MinWidth="120" MinHeight="20" HorizontalAlignment="Left" Margin="0,0">
<TextBlock x:Name="ModName" Margin="20,0" Foreground="White"></TextBlock>
</Viewbox>
<!-- Idk what this plans to have so idk what to theme it to... -->
<xctk:SplitButton Grid.Column="5" FontSize="17" Content=" More " Background="#FF00B7E0" Foreground="White" Click="SplitButton_Click">
<xctk:SplitButton.DropDownContent>
<xctk:ButtonChrome MouseDown="ButtonChrome_MouseDown"></xctk:ButtonChrome>
</xctk:SplitButton.DropDownContent>
</xctk:SplitButton>
</Grid>
</UserControl>