-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
570 lines (505 loc) · 36.8 KB
/
Copy pathMainWindow.xaml
File metadata and controls
570 lines (505 loc) · 36.8 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
<Window x:Class="CoreX.MainWindow"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:CoreX"
mc:Ignorable="d"
WindowStyle="None"
Title="CoreX" Height="575" Width="420" MinHeight="530" MinWidth="420"
WindowStartupLocation="CenterScreen" Background="{DynamicResource BackgroundBrush}"
ResizeMode="NoResize">
<Window.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="#FFD0D0D0"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Margin" Value="5"/>
</Style>
<Style TargetType="Label">
<Setter Property="Foreground" Value="#666666"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="Padding" Value="0"/>
<Setter Property="FontFamily" Value="Bahnschrift" />
<Setter Property="FontWeight" Value="Regular"/>
</Style>
<Style x:Key="RCLS" TargetType="Label">
<Setter Property="Foreground" Value="{DynamicResource ForegroundBrush}"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Margin" Value="6"/>
<Setter Property="Padding" Value="0"/>
<Setter Property="FontFamily" Value="Bahnschrift" />
<Setter Property="FontWeight" Value="Thin"/>
</Style>
<Style TargetType="Button">
<Setter Property="Background" Value="{DynamicResource BackgroundBrush}"/>
<Setter Property="Foreground" Value="{DynamicResource ForegroundBrush}"/>
<Setter Property="BorderBrush" Value="{DynamicResource BackgroundBrush}"/>
<Setter Property="Padding" Value="8 4"/>
<Setter Property="Margin" Value="5"/>
</Style>
<!--Minimize Button-->
<Style TargetType="Button" x:Key="MinimizeButton">
<Setter Property="Background" Value="{DynamicResource BackgroundBrush}"/>
<Setter Property="Foreground" Value="{DynamicResource ForegroundBrush}"/>
<Setter Property="BorderBrush" Value="{DynamicResource BackgroundBrush}"/>
<Setter Property="Padding" Value="8 4"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="FontWeight" Value="Normal"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="1"
Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="{DynamicResource MinimizeHoverBgBrush}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="{x:Type ComboBox}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ComboBox">
<Grid>
<ToggleButton Grid.Column="2" Focusable="false" IsChecked="{Binding Path=IsDropDownOpen,Mode=TwoWay,RelativeSource={RelativeSource TemplatedParent}}" >
<ToggleButton.Template>
<ControlTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="5*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Border x:Name="Border" Grid.ColumnSpan="2" Background="{StaticResource BackgroundBrush}" BorderBrush="{StaticResource ForegroundBrush}" BorderThickness="0, 0, 0, 0.7" Margin="0,-2,0,2" />
<Path x:Name="Arrow" Grid.Column="1" Fill="{StaticResource ForegroundBrush}" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M 0 0 L 4 4 L 8 0 Z"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="ToggleButton.IsChecked" Value="true">
<Setter TargetName="Border" Property="Background" Value="{DynamicResource MinimizeHoverBgBrush}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</ToggleButton.Template>
</ToggleButton>
<ContentPresenter Name="ContentSite" IsHitTestVisible="False" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" Margin="5,3,3,5" />
<Popup Name="Popup" Placement="Bottom" IsOpen="{TemplateBinding IsDropDownOpen}" AllowsTransparency="True" Focusable="False" PopupAnimation="Slide">
<Grid Name="DropDown" SnapsToDevicePixels="True" MinWidth="{TemplateBinding ActualWidth}" MaxHeight="{TemplateBinding MaxDropDownHeight}">
<Border x:Name="DropDownBorder" Background="{StaticResource BlackedOutBrush}" />
<ScrollViewer SnapsToDevicePixels="True">
<StackPanel IsItemsHost="True" />
</ScrollViewer>
</Grid>
</Popup>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
</Style.Triggers>
</Style>
<!--Maximize Button-->
<Style TargetType="Button" x:Key="MaximizeButton">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="Padding" Value="8 4"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="FontWeight" Value="Normal"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="1"
Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="Transparent"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!--Close Button-->
<Style TargetType="Button" x:Key="CloseButton">
<Setter Property="Background" Value="{DynamicResource BackgroundBrush}"/>
<Setter Property="Foreground" Value="{DynamicResource ForegroundBrush}"/>
<Setter Property="BorderBrush" Value="{DynamicResource BackgroundBrush}"/>
<Setter Property="Padding" Value="8 4"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="FontWeight" Value="Normal"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="1"
Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#ff00"/>
<Setter Property="Foreground" Value="{DynamicResource BackgroundBrush}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="TabItem">
<Setter Property="Background" Value="{DynamicResource BackgroundBrush}"/>
<Setter Property="Foreground" Value="#666666"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="Padding" Value="7 1"/>
<Setter Property="FontFamily" Value="Bahnschrift"/>
<Setter Property="FontWeight" Value="thin"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TabItem">
<Grid>
<Border Name="Border"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="0 0 0 0"
Margin="0 0 0 0"
Padding="{TemplateBinding Padding}">
<ContentPresenter x:Name="ContentSite"
VerticalAlignment="Center"
HorizontalAlignment="Center"
ContentSource="Header"
Margin="5"/>
</Border>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource ForegroundBrush}"/>
<Setter TargetName="Border" Property="BorderThickness" Value="0 0 0 0.5"/>
<Setter Property="Foreground" Value="{DynamicResource ForegroundBrush}"/>
<Setter Property="FontWeight" Value="Bold"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="{DynamicResource ForegroundBrush}"/>
<Setter Property="FontWeight" Value="Bold"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="CustomCheckBox" TargetType="CheckBox">
<Setter Property="Foreground" Value="{DynamicResource ForegroundBrush}"/>
<Setter Property="FontFamily" Value="Bahnschrift"/>
<Setter Property="FontWeight" Value="Thin"/>
<Setter Property="Padding" Value="5,2,5,2"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="CheckBox">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<!-- Custom Checkbox Background -->
<Border x:Name="CheckBorder"
Width="13" Height="13"
CornerRadius="3"
BorderBrush="{DynamicResource CheckBoxBackgroundBrush}"
BorderThickness="0.7"
Margin="1,0,6,0">
<Grid>
<!-- White Checkmark -->
<Path x:Name="CheckMark"
Data="M 2,5.5 L 5,8.5 L 9.5,3.5"
Stroke="{DynamicResource ForegroundBrush}"
StrokeThickness="0.7"
StrokeEndLineCap="Round"
Visibility="Collapsed"/>
</Grid>
</Border>
<!-- Text Content -->
<ContentPresenter VerticalAlignment="Center" />
</StackPanel>
<ControlTemplate.Triggers>
<!-- Show Checkmark when Checked -->
<Trigger Property="IsChecked" Value="True">
<Setter TargetName="CheckMark" Property="Visibility" Value="Visible"/>
<Setter TargetName="CheckBorder" Property="Background" Value="{DynamicResource CheckBoxBackgroundBrush}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
<RowDefinition Height="Auto" MinHeight="25.04"/>
</Grid.RowDefinitions>
<Border Background="{DynamicResource BackgroundBrush}" BorderBrush="GreenYellow" BorderThickness="1,0,0,0" Height="30" VerticalAlignment="Top">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="30"/>
<ColumnDefinition Width="30"/>
<ColumnDefinition Width="30"/>
</Grid.ColumnDefinitions>
<!-- App Title -->
<TextBlock Text="CoreX" Foreground="{DynamicResource ForegroundBrush}" FontFamily="Bahnschrift" FontWeight="Thin" VerticalAlignment="Center" Margin="10,0,288,0" />
<!-- Minimize Button -->
<Button Grid.Column="1" Style="{StaticResource MinimizeButton}" Content="—" Padding="0" FontFamily="Default" FontSize="11" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Click="Minimize_Click"
BorderThickness="0" Margin="0,0,0,4" Width="30"/>
<!-- Maximize/Restore Button -->
<Button Grid.Column="2" Style="{StaticResource MaximizeButton}" Content="▢" Foreground="{DynamicResource BlackedOutBrush}" Padding="0" FontFamily="Default" FontSize="11" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
BorderThickness="0" Margin="0,1,0,3" Width="30"/>
<!-- Close Button -->
<Button Grid.Column="3" Style="{StaticResource CloseButton}" Content="⨉" Padding="0" FontFamily="Default" FontSize="13" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Click="CloseButton_Click"
BorderThickness="0" Foreground="{DynamicResource ForegroundBrush}" Margin="0,0,0,4"/>
</Grid>
</Border>
<!-- Main Content -->
<TabControl Grid.Row="1" Background="{DynamicResource BackgroundBrush}" BorderBrush="{DynamicResource BackgroundBrush}">
<TabItem Header="Graphics Card" Margin="10,-4,-10,4" Foreground="{DynamicResource ForegroundBrush}">
<ScrollViewer VerticalScrollBarVisibility="Disabled" Height="485">
<StackPanel>
<Grid Margin="-5,0,15,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- Left Column -->
<Label Grid.Row="0" Grid.Column="0" Content="Name" HorizontalAlignment="Right" VerticalContentAlignment="Center" />
<Border Grid.Row="0" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6" Grid.ColumnSpan="2" Margin="0,0,46,0" Grid.Column="1">
<Label Content="AMD Radeon™ Graphics" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="1" Grid.Column="0" Content="GPU" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6" Grid.ColumnSpan="2" Margin="0,0,56,0" Grid.Column="1">
<Label Content="RX 6800 XT" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="2" Grid.Column="0" Content="Technology" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="2" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="7 nm" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="3" Grid.Column="0" Content="Release Date" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="3" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="2020-11-18" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="4" Grid.Column="0" Content="BIOS Version" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="4" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="020.001.000.038" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="5" Grid.Column="0" Content="Subvendor" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="5" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="AMD" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="6" Grid.Column="0" Content="ROPs/TMUs" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="6" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="128 / 288" Style="{StaticResource RCLS}" />
</Border>
<!-- Right Column -->
<Label Grid.Row="1" Grid.Column="2" Content="Revision" HorizontalAlignment="Left" Margin="39,5,0,5" VerticalContentAlignment="Center" />
<Border Grid.Row="1" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="C7" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="2" Grid.Column="2" Content="Die Size" HorizontalAlignment="Left" Margin="41,5,0,5" VerticalContentAlignment="Center"/>
<Border Grid.Row="2" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="536 mm²" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="3" Grid.Column="2" Content="Transistors" HorizontalAlignment="Left" Margin="24,5,0,5" VerticalContentAlignment="Center"/>
<Border Grid.Row="3" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="26.8 billion" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="4" Grid.Column="2" Content="Device ID" HorizontalAlignment="Left" Margin="36,5,0,5" VerticalContentAlignment="Center"/>
<Border Grid.Row="4" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="0x73BF" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="5" Grid.Column="2" Content="Bus Interface" HorizontalAlignment="Left" Margin="15,5,0,5" VerticalContentAlignment="Center"/>
<Border Grid.Row="5" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="PCIe 4.0 x16" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="6" Grid.Column="2" Content="Shaders" HorizontalAlignment="Left" Margin="40,5,0,5" VerticalContentAlignment="Center"/>
<Border Grid.Row="6" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="4608" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="7" Grid.Column="0" Content="Shaders" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="4608" Style="{StaticResource RCLS}" />
</Border>
<!-- Full width items -->
<Label Grid.Row="8" Grid.Column="0" Content="Pixel Fillrate" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="8" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="192.0 GPixel/s" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="8" Grid.Column="2" Content="Texture Fillrate" Grid.ColumnSpan="1" Margin="3,5,5,5" VerticalContentAlignment="Center"/>
<Border Grid.Row="8" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="432.0 GTexel/s" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="9" Grid.Column="0" Content="Memory Type" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="9" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="GDDR6" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="9" Grid.Column="2" Content="Bus Width" HorizontalAlignment="Left" Margin="30,5,0,5" VerticalContentAlignment="Center"/>
<Border Grid.Row="9" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="256 bit" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="10" Grid.Column="0" Content="Memory Size" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="10" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="16 GB" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="10" Grid.Column="2" Content="Bandwidth" HorizontalAlignment="Left" Margin="29,5,0,5" VerticalContentAlignment="Center"/>
<Border Grid.Row="10" Grid.Column="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="512.0 GB/s" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="11" Grid.Column="0" Content="Driver Version" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="11" Grid.Column="1" Grid.ColumnSpan="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="27.20.15003.5014" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="12" Grid.Column="0" Content="Driver Date" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="12" Grid.Column="1" Grid.ColumnSpan="3" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="27.20.15003.5014 (NVIDIA 391.35) / Win10 64" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="13" Grid.Column="0" Content="GPU Clock" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="13" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="810 MHz" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="13" Grid.Column="2" Content="Driver Date" HorizontalAlignment="Left" Margin="23,5,0,5" VerticalContentAlignment="Center"/>
<Label Grid.Row="14" Grid.Column="0" Content="Default Clock" HorizontalAlignment="Right" VerticalContentAlignment="Center"/>
<Border Grid.Row="14" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="810 MHz" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="15" Grid.Column="0" Content="NVIDIA SLI" HorizontalAlignment="Left" VerticalContentAlignment="Center" Margin="48,6,0,4"/>
<Border Grid.Row="15" Grid.Column="1" BorderThickness="0,0,0,0.5" Height="26" BorderBrush="#C6C6C6">
<Label Content="Disabled" Style="{StaticResource RCLS}" />
</Border>
<Label Grid.Row="16" Content="Computing" VerticalAlignment="Top" Margin="49,10,3,0"/>
<Label Grid.Row="16" Content="Technologies" VerticalAlignment="Top" Margin="37,35,5,0"/>
</Grid>
<!-- Computing Section -->
<StackPanel Grid.Row="1" Margin="110,-47,14,56">
<WrapPanel Width="292">
<CheckBox Content="OpenCL" IsChecked="True" Style="{StaticResource CustomCheckBox}" FontSize="11" FontFamily="Bahnschrift" FontWeight="Thin" VerticalContentAlignment="Center" Padding="3, 0, 2, -2" Width="64" Height="13"/>
<CheckBox Content="CUDA" FontFamily="Bahnschrift" Style="{StaticResource CustomCheckBox}" FontWeight="Thin" VerticalContentAlignment="Center" Padding="3, 0, 2, -2" Width="55" Height="13" />
<CheckBox Content="DirectCompute" IsChecked="True" Style="{StaticResource CustomCheckBox}" FontFamily="Bahnschrift" FontWeight="Thin" VerticalContentAlignment="Center" Padding="3, 2, 0, 0" Width="104" Height="13"/>
<CheckBox Content="DirectML" IsChecked="True" Style="{StaticResource CustomCheckBox}" FontFamily="Bahnschrift" FontWeight="Thin" VerticalContentAlignment="Center" Padding="3, 0, 2, -2" Width="69" Height="13"/>
</WrapPanel>
</StackPanel>
<!-- Technologies Section -->
<StackPanel Grid.Row="1" Margin="110,-44,14,27">
<WrapPanel Width="297">
<CheckBox Content="Vulkan" IsChecked="True" Style="{StaticResource CustomCheckBox}" FontSize="11" FontFamily="Bahnschrift" FontWeight="Thin" VerticalContentAlignment="Center" Height="13" Margin="0, 0, 5, 0"/>
<CheckBox Content="Ray Tracing" Style="{StaticResource CustomCheckBox}" FontFamily="Bahnschrift" FontWeight="Thin" VerticalContentAlignment="Center" Width="87" Height="13" />
<CheckBox Content="PhysX" Style="{StaticResource CustomCheckBox}" FontFamily="Bahnschrift" FontWeight="Thin" VerticalContentAlignment="Center" Width="60" Height="13"/>
<CheckBox Content="OpenGL 4.6" Style="{StaticResource CustomCheckBox}" FontFamily="Bahnschrift" FontWeight="Thin" VerticalContentAlignment="Center" Width="89" Height="13"/>
</WrapPanel>
</StackPanel>
</StackPanel>
</ScrollViewer>
</TabItem>
<TabItem Header="Sensors" Margin="10,-4,-10,4">
<Grid Margin="10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="11*"/>
<ColumnDefinition Width="186*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Grid.Row="0" Grid.ColumnSpan="2" Margin="0,0,0,353" Grid.RowSpan="2">
<Button Content="Refresh" Width="80"/>
<Button Content="Log to File" Margin="10 0 0 0" Width="80"/>
</StackPanel>
<DataGrid Grid.Row="1" Margin="0 10 0 0" AutoGenerateColumns="False"
Background="{DynamicResource BackgroundBrush}" BorderBrush="{DynamicResource BackgroundBrush}"
RowBackground="{DynamicResource BackgroundBrush}" AlternatingRowBackground="#FF2D2D30"
HeadersVisibility="Column" IsReadOnly="True" Grid.ColumnSpan="2">
<DataGrid.Columns>
<DataGridTextColumn Header="Sensor" Binding="{Binding Name}" Width="*"/>
<DataGridTextColumn Header="Value" Binding="{Binding Value}" Width="*"/>
<DataGridTextColumn Header="Min" Binding="{Binding Min}" Width="*"/>
<DataGridTextColumn Header="Max" Binding="{Binding Max}" Width="*"/>
<DataGridTextColumn Header="Avg" Binding="{Binding Avg}" Width="*"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
</TabItem>
<TabItem Header="Advanced" Margin="10,-4,-10,4">
<ScrollViewer>
<StackPanel Margin="10">
<GroupBox Header="Computing Technologies" Margin="0 0 0 10">
<StackPanel>
<CheckBox Content="OpenCL" IsChecked="{Binding OpenCLSupported}" Margin="5" IsEnabled="False"/>
<CheckBox Content="CUDA" IsChecked="{Binding CUDASupported}" Margin="5" IsEnabled="False"/>
<CheckBox Content="DirectCompute" IsChecked="{Binding DirectComputeSupported}" Margin="5" IsEnabled="False"/>
<CheckBox Content="DirectML" IsChecked="{Binding DirectMLSupported}" Margin="5" IsEnabled="False"/>
</StackPanel>
</GroupBox>
<GroupBox Header="Graphics Technologies" Margin="0 0 0 10">
<StackPanel>
<CheckBox Content="Vulkan" IsChecked="{Binding VulkanSupported}" Margin="5" IsEnabled="False"/>
<CheckBox Content="Ray Tracing" IsChecked="{Binding RayTracingSupported}" Margin="5" IsEnabled="False"/>
<CheckBox Content="PhysX" IsChecked="{Binding PhysXSupported}" Margin="5" IsEnabled="False"/>
<CheckBox Content="OpenGL 4.6" IsChecked="{Binding OpenGLSupported}" Margin="5" IsEnabled="False"/>
</StackPanel>
</GroupBox>
<GroupBox Header="Multi-GPU" Margin="0 0 0 10">
<StackPanel>
<CheckBox Content="AMD CrossFire" IsChecked="{Binding CrossFireSupported}" Margin="5" IsEnabled="False"/>
</StackPanel>
</GroupBox>
</StackPanel>
</ScrollViewer>
</TabItem>
<TabItem Header="Validation" Margin="10,-4,-10,4">
<StackPanel Margin="10">
<TextBlock Text="GPU Validation" FontSize="16" Margin="0 0 0 10"/>
<Button Content="Run Validation" Width="120" HorizontalAlignment="Right" VerticalAlignment="Center"/>
<TextBlock Text="Validation results will appear here..." Margin="0 20 0 0"/>
</StackPanel>
</TabItem>
</TabControl>
<Button Grid.Row="1" Width="32" Height="27" Click="SwitchTheme_Click" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,8,12,0" Style="{StaticResource MinimizeButton}" x:Name="ThemeButton">
<Image x:Name="ThemeIcon" Source="Assets/dark.png" Width="16" Height="16"/>
</Button>
<!-- Footer -->
<Border Grid.Row="2" Background="{DynamicResource BackgroundBrush}" Padding="0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Width="420">
<ComboBox Width="163" Height="23" VerticalContentAlignment="Center" FontFamily="Bahnschrift" Margin="8, 0, 0, 0" FontWeight="Thin"
SelectedIndex="0">
<ComboBoxItem Content="AMD Radeon™ Graphics" Background="{DynamicResource BackgroundBrush}"/>
<ComboBoxItem Content="NVIDIA GeForce 610" Background="{DynamicResource BackgroundBrush}"/>
</ComboBox>
<Button Content="CLOSE" Width="55" Margin="177,4,0,6" Style="{StaticResource MinimizeButton}" Click="CloseButton_Click" VerticalAlignment="Center" FontFamily="Bahnschrift" FontWeight="Thin" Height="23"/>
</StackPanel>
</Border>
</Grid>
</Window>