1
1
<UserControl x : Class =" NOWT.Controls.InventoryControl"
2
- xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
- xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
4
- xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
5
- xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
6
- xmlns : controls =" clr-namespace:NOWT.Controls"
7
- xmlns : fa6 =" http://schemas.fontawesome.com/icons/fonts"
8
- x : Name =" Self" HorizontalAlignment =" Stretch"
9
- mc : Ignorable =" d" Background =" Transparent"
10
- d : DesignHeight =" 450" d : DesignWidth =" 800" d : DataContext =" {d:DesignData SkinData}" >
2
+ xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
+ xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml"
4
+ xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006"
5
+ xmlns:d=" http://schemas.microsoft.com/expression/blend/2008"
6
+ xmlns:controls=" clr-namespace:NOWT.Controls"
7
+ xmlns:fa6=" http://schemas.fontawesome.com/icons/fonts"
8
+ x:Name=" Self" HorizontalAlignment =" Stretch"
9
+ mc:Ignorable=" d" Background =" Transparent"
10
+ d:DesignHeight=" 450" d : DesignWidth =" 800" d : DataContext =" {d:DesignData SkinData}" >
11
11
<Border Background =" #252A40" CornerRadius =" 20" Margin =" 10" Padding =" 10" >
12
12
<Border .Effect>
13
13
<DropShadowEffect BlurRadius =" 5" ShadowDepth =" 3" />
29
29
<RowDefinition />
30
30
</Grid .RowDefinitions>
31
31
32
- <TextBlock Grid.Column=" 1" Grid.ColumnSpan=" 4" Grid.Row=" 0" Text =" {Binding Username, ElementName=Self}"
33
- FontSize =" 30" FontWeight =" Bold" Foreground =" White" HorizontalAlignment =" Center"
34
- VerticalAlignment =" Center" Margin =" 10" />
35
-
36
- <!-- <Grid Grid.Column="0" Grid.Row="0" Grid.RowSpan="6" Width="Auto"> -->
37
- <!-- <Grid.RowDefinitions> -->
38
- <!-- <RowDefinition Height="Auto"></RowDefinition> -->
39
- <!-- <RowDefinition SharedSizeGroup="A"></RowDefinition> -->
40
- <!-- <RowDefinition SharedSizeGroup="A"></RowDefinition> -->
41
- <!-- <RowDefinition SharedSizeGroup="A"></RowDefinition> -->
42
- <!-- </Grid.RowDefinitions> -->
32
+ <TextBlock Grid.Column=" 1" Grid.ColumnSpan=" 4" Grid.Row=" 0"
33
+ Text=" {Binding Username, ElementName=Self}"
34
+ FontSize=" 30" FontWeight =" Bold" Foreground =" White" HorizontalAlignment =" Center"
35
+ VerticalAlignment=" Center" Margin =" 10" />
43
36
44
37
<controls : InventoryEntryControl
45
38
Grid.Row=" 0" Grid.RowSpan=" 3"
57
50
Grid.Row=" 5"
58
51
Image=" {Binding SkinDataObject.Spray3Image, ElementName=Self}"
59
52
TooltipName=" {Binding SkinDataObject.Spray3Name, ElementName=Self}" />
60
- <!-- </Grid> -->
61
-
62
53
63
54
<controls : InventoryEntryControl
64
55
Grid.Column=" 1" Grid.Row=" 1"
116
107
TooltipName=" {Binding SkinDataObject.VandalName, ElementName=Self}" />
117
108
118
109
<controls : InventoryEntryControl
119
- Grid.Column=" 4" Grid.Row=" 1 "
110
+ Grid.Column=" 4" Grid.Row=" 0 "
120
111
Image=" {Binding SkinDataObject.MarshalImage, ElementName=Self}"
121
112
TooltipName=" {Binding SkinDataObject.MarshalName, ElementName=Self}" />
113
+
114
+ <controls : InventoryEntryControl
115
+ Grid.Column=" 4" Grid.Row=" 1"
116
+ Image=" {Binding SkinDataObject.OutlawImage, ElementName=Self}"
117
+ TooltipName=" {Binding SkinDataObject.OutlawName, ElementName=Self}" />
118
+
122
119
<controls : InventoryEntryControl
123
120
Grid.Column=" 4" Grid.Row=" 2"
124
121
Image=" {Binding SkinDataObject.OperatorImage, ElementName=Self}"
125
122
TooltipName=" {Binding SkinDataObject.OperatorName, ElementName=Self}" />
123
+
126
124
<controls : InventoryEntryControl
127
125
Grid.Column=" 4" Grid.Row=" 3"
128
126
Image=" {Binding SkinDataObject.AresImage, ElementName=Self}"
129
127
TooltipName=" {Binding SkinDataObject.AresName, ElementName=Self}" />
128
+
130
129
<controls : InventoryEntryControl
131
130
Grid.Column=" 4" Grid.Row=" 4"
132
131
Image=" {Binding SkinDataObject.OdinImage, ElementName=Self}"
133
132
TooltipName=" {Binding SkinDataObject.OdinName, ElementName=Self}" />
133
+
134
134
<controls : InventoryEntryControl
135
135
Grid.Column=" 4" Grid.Row=" 5"
136
136
Image=" {Binding SkinDataObject.MeleeImage, ElementName=Self}"
137
137
TooltipName=" {Binding SkinDataObject.MeleeName, ElementName=Self}" />
138
138
139
139
<Button
140
- Grid.Row=" 5 " Grid.Column=" 2" Grid.ColumnSpan=" 2" Cursor =" Hand" Click =" CloseBtnClick"
140
+ Grid.Row=" 6 " Grid.Column=" 2" Grid.ColumnSpan=" 2" Cursor =" Hand" Click =" CloseBtnClick"
141
141
Template=" {StaticResource ButtonTemplate}" Margin =" 10" Padding =" 20" >
142
142
<fa6 : ImageAwesome PrimaryColor =" #007EF9" Icon =" Solid_Xmark" Margin =" 10" />
143
143
</Button >
144
+
144
145
</Grid >
145
146
</Border >
146
- </UserControl >
147
+ </UserControl >
0 commit comments