Repository navigation
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
545 lines (494 loc) · 27.4 KB
/
Copy pathMainWindow.xaml
File metadata and controls
545 lines (494 loc) · 27.4 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
<Window x:Class="SystemMonitorApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shell="clr-namespace:System.Windows.Shell;assembly=PresentationFramework"
Title="SystemFlow Pro"
Width="1400" Height="900" MinWidth="1100" MinHeight="750"
Icon="app.ico"
WindowStartupLocation="CenterScreen"
Background="{DynamicResource BackgroundBrush}">
<!-- WindowChrome preserves Aero Snap / Snap Layouts / maximize-double-click
while allowing a custom title bar. CaptionHeight matches our header height. -->
<shell:WindowChrome.WindowChrome>
<shell:WindowChrome
CaptionHeight="48"
GlassFrameThickness="0"
ResizeBorderThickness="6"
UseAeroCaptionButtons="False"
CornerRadius="0"/>
</shell:WindowChrome.WindowChrome>
<Window.Resources>
<!-- Ultra Modern Color Palette (single source of truth) -->
<SolidColorBrush x:Key="BackgroundBrush" Color="#0D0E13"/>
<SolidColorBrush x:Key="CardBrush" Color="#191B23"/>
<SolidColorBrush x:Key="AccentBrush" Color="#00E5C7"/>
<SolidColorBrush x:Key="SecondaryBrush" Color="#7C3AED"/>
<SolidColorBrush x:Key="WarnBrush" Color="#FFA726"/>
<SolidColorBrush x:Key="ErrorBrush" Color="#FF5252"/>
<SolidColorBrush x:Key="SuccessBrush" Color="#26C6DA"/>
<SolidColorBrush x:Key="TextPrimaryBrush" Color="#FFFFFF"/>
<SolidColorBrush x:Key="TextSecondaryBrush" Color="#F1F5F9"/>
<SolidColorBrush x:Key="TextMutedBrush" Color="#A8B2C0"/>
<SolidColorBrush x:Key="BorderBrush" Color="#2A2D36"/>
<SolidColorBrush x:Key="HighlightBrush" Color="#252730"/>
<!-- Accessible focus visual — visible outline on keyboard focus -->
<Style x:Key="AccessibleFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle StrokeThickness="2"
Stroke="{DynamicResource AccentBrush}"
StrokeDashArray="1 2"
Margin="-2"
SnapsToDevicePixels="True"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Fluent icon base style (Segoe Fluent Icons with MDL2 Assets fallback for Win10) -->
<Style x:Key="FluentIcon" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe Fluent Icons, Segoe MDL2 Assets"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<!-- Chrome button style -->
<Style x:Key="ChromeButton" TargetType="Button">
<Setter Property="Width" Value="46"/>
<Setter Property="Height" Value="32"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="{DynamicResource TextMutedBrush}"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="FontFamily" Value="Segoe Fluent Icons, Segoe MDL2 Assets"/>
<Setter Property="FontSize" Value="10"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="FocusVisualStyle" Value="{StaticResource AccessibleFocusVisual}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="root" Background="{TemplateBinding Background}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="root" Property="Background" Value="#22FFFFFF"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="root" Property="Background" Value="#44FFFFFF"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Close chrome button (red hover) -->
<Style x:Key="CloseChromeButton" TargetType="Button" BasedOn="{StaticResource ChromeButton}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="{DynamicResource ErrorBrush}"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
</Style.Triggers>
</Style>
<!-- Modern Card Style -->
<Style x:Key="ModernCard" TargetType="Border">
<Setter Property="Background" Value="{StaticResource CardBrush}"/>
<Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="16"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect Color="#000000" BlurRadius="24" ShadowDepth="8" Opacity="0.25"/>
</Setter.Value>
</Setter>
</Style>
<!-- Hero Card Style -->
<Style x:Key="HeroCard" TargetType="Border">
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#191B23" Offset="0"/>
<GradientStop Color="#1E212A" Offset="1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
<Setter Property="BorderBrush">
<Setter.Value>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1" Opacity="0.6">
<GradientStop Color="#00E5C7" Offset="0"/>
<GradientStop Color="#7C3AED" Offset="1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="CornerRadius" Value="20"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect Color="#00E5C7" BlurRadius="20" ShadowDepth="0" Opacity="0.15"/>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="HeroValue" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe UI Variable Display"/>
<Setter Property="FontSize" Value="42"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style x:Key="HeroLabel" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe UI Variable"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="FontWeight" Value="Medium"/>
<Setter Property="Foreground" Value="{StaticResource TextSecondaryBrush}"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,8,0,0"/>
</Style>
<Style x:Key="SectionHeader" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe UI Variable Display"/>
<Setter Property="FontSize" Value="16"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}"/>
<Setter Property="Margin" Value="0,0,0,12"/>
</Style>
<Style x:Key="DataText" TargetType="TextBlock">
<Setter Property="FontFamily" Value="Consolas"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="FontWeight" Value="Medium"/>
<Setter Property="Foreground" Value="{StaticResource TextSecondaryBrush}"/>
<Setter Property="Margin" Value="0,2"/>
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
<Setter Property="TextWrapping" Value="NoWrap"/>
</Style>
<!-- Pulsing Animation -->
<Storyboard x:Key="PulseAnimation" RepeatBehavior="Forever">
<DoubleAnimation Storyboard.TargetProperty="Opacity" From="0.7" To="1.0" Duration="0:0:2" AutoReverse="True"/>
</Storyboard>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!-- Title bar / header -->
<Border Grid.Row="0"
Background="#0A0B0F"
Height="48"
BorderBrush="{StaticResource BorderBrush}"
BorderThickness="0,0,0,1">
<Grid Margin="24,0,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<!-- Brand -->
<StackPanel Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center">
<Border Width="24" Height="24" Margin="0,0,10,0"
Background="{StaticResource AccentBrush}" CornerRadius="6">
<TextBlock Text="S" FontFamily="Segoe UI Variable Display"
FontSize="14" FontWeight="Bold"
Foreground="White"
HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<TextBlock Text="SystemFlow" FontFamily="Segoe UI Variable Display"
FontSize="18" FontWeight="Bold"
Foreground="{StaticResource TextPrimaryBrush}"
VerticalAlignment="Center"/>
<TextBlock Text="PRO" FontFamily="Segoe UI Variable"
FontSize="10" FontWeight="Bold"
Foreground="{StaticResource AccentBrush}"
VerticalAlignment="Center" Margin="6,0,0,0"/>
<TextBlock Text="v1.1.0" FontFamily="Segoe UI Variable"
FontSize="11" FontWeight="Medium"
Foreground="{StaticResource TextMutedBrush}"
VerticalAlignment="Center" Margin="8,0,0,0"/>
</StackPanel>
<!-- Live Status -->
<StackPanel Grid.Column="2" Orientation="Horizontal"
VerticalAlignment="Center" Margin="0,0,16,0">
<Ellipse Width="8" Height="8" Fill="{StaticResource AccentBrush}" x:Name="LiveIndicator">
<Ellipse.Triggers>
<EventTrigger RoutedEvent="Ellipse.Loaded">
<BeginStoryboard Storyboard="{StaticResource PulseAnimation}"/>
</EventTrigger>
</Ellipse.Triggers>
</Ellipse>
<TextBlock Text="LIVE" FontFamily="Segoe UI Variable"
FontSize="11" FontWeight="Bold"
Foreground="{StaticResource AccentBrush}"
VerticalAlignment="Center" Margin="8,0,0,0"/>
</StackPanel>
<!-- App actions (Settings, About) + Window Controls -->
<StackPanel Grid.Column="3" Orientation="Horizontal"
VerticalAlignment="Center"
shell:WindowChrome.IsHitTestVisibleInChrome="True">
<Button x:Name="SettingsButton"
Style="{StaticResource ChromeButton}"
Content=""
ToolTip="Settings"
AutomationProperties.Name="Open settings"
AutomationProperties.HelpText="Change polling interval, temperature unit and startup behavior"
TabIndex="101"
Click="SettingsButton_Click"/>
<Button x:Name="AboutButton"
Style="{StaticResource ChromeButton}"
Content=""
ToolTip="About SystemFlow Pro"
AutomationProperties.Name="About SystemFlow Pro"
AutomationProperties.HelpText="Show version, license and third-party libraries"
TabIndex="102"
Click="AboutButton_Click"/>
<Rectangle Width="1" Height="20" Fill="{StaticResource BorderBrush}" Margin="8,0"/>
<Button x:Name="MinimizeButton"
Style="{StaticResource ChromeButton}"
Content=""
ToolTip="Minimize (Win+Down)"
AutomationProperties.Name="Minimize window"
TabIndex="103"
Click="MinimizeButton_Click"/>
<Button x:Name="MaximizeButton"
Style="{StaticResource ChromeButton}"
Content=""
ToolTip="Maximize (Win+Up)"
AutomationProperties.Name="Maximize window"
TabIndex="104"
Click="MaximizeButton_Click"/>
<Button x:Name="CloseButton"
Style="{StaticResource CloseChromeButton}"
Content=""
ToolTip="Close (Alt+F4)"
AutomationProperties.Name="Close application"
TabIndex="105"
Click="CloseButton_Click"/>
</StackPanel>
</Grid>
</Border>
<!-- Hero Metrics -->
<Grid Grid.Row="1" Margin="24,16,24,8" MinHeight="180">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- CPU Hero Card -->
<Border Grid.Column="0" Style="{StaticResource HeroCard}" Margin="8"
AutomationProperties.Name="CPU load">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Style="{StaticResource FluentIcon}"
Text="" FontSize="22"
HorizontalAlignment="Right" Margin="16,16,16,0"
Opacity="0.5">
<TextBlock.Foreground>
<LinearGradientBrush>
<GradientStop Color="#00E5C7" Offset="0"/>
<GradientStop Color="#26C6DA" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<TextBlock Grid.Row="2" x:Name="CpuValueText" Text="0%"
Style="{StaticResource HeroValue}" Margin="0,12"
ToolTip="CPU total load. Warning at 80%."
AutomationProperties.Name="CPU load current value"
AutomationProperties.LiveSetting="Polite">
<TextBlock.Foreground>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#00E5C7" Offset="0"/>
<GradientStop Color="#26C6DA" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<TextBlock Grid.Row="3" Text="CPU LOAD"
Style="{StaticResource HeroLabel}" Margin="0,0,0,12"/>
</Grid>
</Border>
<!-- GPU Hero Card -->
<Border Grid.Column="1" Style="{StaticResource HeroCard}" Margin="8"
AutomationProperties.Name="GPU load">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Style="{StaticResource FluentIcon}"
Text="" FontSize="22"
HorizontalAlignment="Right" Margin="16,16,16,0"
Opacity="0.5">
<TextBlock.Foreground>
<LinearGradientBrush>
<GradientStop Color="#7C3AED" Offset="0"/>
<GradientStop Color="#A855F7" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<TextBlock Grid.Row="2" x:Name="GpuValueText" Text="0%"
Style="{StaticResource HeroValue}" Margin="0,12"
ToolTip="GPU total load. Used by 3D and compute workloads."
AutomationProperties.Name="GPU load current value"
AutomationProperties.LiveSetting="Polite">
<TextBlock.Foreground>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#7C3AED" Offset="0"/>
<GradientStop Color="#A855F7" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<TextBlock Grid.Row="3" Text="GPU LOAD"
Style="{StaticResource HeroLabel}" Margin="0,0,0,12"/>
</Grid>
</Border>
<!-- Memory Hero Card -->
<Border Grid.Column="2" Style="{StaticResource HeroCard}" Margin="8"
AutomationProperties.Name="Memory usage">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Style="{StaticResource FluentIcon}"
Text="" FontSize="22"
HorizontalAlignment="Right" Margin="16,16,16,0"
Opacity="0.5">
<TextBlock.Foreground>
<LinearGradientBrush>
<GradientStop Color="#FFA726" Offset="0"/>
<GradientStop Color="#FFB74D" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<TextBlock Grid.Row="2" x:Name="MemoryValueText" Text="0%"
Style="{StaticResource HeroValue}" Margin="0,12"
ToolTip="Memory usage in percent. Warning at 85%."
AutomationProperties.Name="Memory usage current value"
AutomationProperties.LiveSetting="Polite">
<TextBlock.Foreground>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#FFA726" Offset="0"/>
<GradientStop Color="#FFB74D" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<TextBlock Grid.Row="3" Text="MEMORY USAGE"
Style="{StaticResource HeroLabel}" Margin="0,0,0,12"/>
</Grid>
</Border>
<!-- Temperature Hero Card -->
<Border Grid.Column="3" Style="{StaticResource HeroCard}" Margin="8"
AutomationProperties.Name="Average temperature">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Style="{StaticResource FluentIcon}"
Text="" FontSize="22"
HorizontalAlignment="Right" Margin="16,16,16,0"
Opacity="0.5">
<TextBlock.Foreground>
<LinearGradientBrush>
<GradientStop Color="#FF5252" Offset="0"/>
<GradientStop Color="#FF7043" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<TextBlock Grid.Row="2" x:Name="TempValueText" Text="0°C"
Style="{StaticResource HeroValue}" Margin="0,12"
ToolTip="Average of all available temperature sensors. Warning at 75°C."
AutomationProperties.Name="Average temperature current value"
AutomationProperties.LiveSetting="Polite">
<TextBlock.Foreground>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#FF5252" Offset="0"/>
<GradientStop Color="#FF7043" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
<TextBlock Grid.Row="3" Text="TEMPERATURE"
Style="{StaticResource HeroLabel}" Margin="0,0,0,12"/>
</Grid>
</Border>
</Grid>
<!-- Main Content Area -->
<Grid Grid.Row="2" Margin="24,0,24,24">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Style="{StaticResource ModernCard}" Margin="8"
AutomationProperties.Name="CPU cores and fans">
<StackPanel Margin="20">
<TextBlock Text="CPU CORES" Style="{StaticResource SectionHeader}"/>
<ScrollViewer MaxHeight="420" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="CpuCoresPanel" Margin="0,0,0,12"/>
</ScrollViewer>
<TextBlock Text="CPU COOLING" Style="{StaticResource SectionHeader}" Margin="0,16,0,0"/>
<ScrollViewer MaxHeight="220" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="CpuFansPanel"/>
</ScrollViewer>
</StackPanel>
</Border>
<Border Grid.Column="1" Style="{StaticResource ModernCard}" Margin="8"
AutomationProperties.Name="GPU information and fans">
<StackPanel Margin="20">
<TextBlock Text="GPU INFORMATION" Style="{StaticResource SectionHeader}"/>
<ScrollViewer MaxHeight="500" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="GpuInfoPanel" Margin="0,0,0,12"/>
</ScrollViewer>
<TextBlock Text="GPU COOLING" Style="{StaticResource SectionHeader}" Margin="0,16,0,0"/>
<ScrollViewer MaxHeight="260" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="SystemFansPanel"/>
</ScrollViewer>
</StackPanel>
</Border>
<Border Grid.Column="2" Style="{StaticResource ModernCard}" Margin="8"
AutomationProperties.Name="Memory and thermal sensors">
<StackPanel Margin="20">
<TextBlock Text="MEMORY STATUS" Style="{StaticResource SectionHeader}"/>
<StackPanel x:Name="MemoryPanel" Margin="0,0,0,16"/>
<ProgressBar x:Name="MemoryProgressBar" Height="8"
Background="{StaticResource HighlightBrush}"
BorderThickness="0" Margin="0,4,0,16"
AutomationProperties.Name="Memory usage progress indicator">
<ProgressBar.Foreground>
<LinearGradientBrush>
<GradientStop Color="#FFA726" Offset="0"/>
<GradientStop Color="#FFB74D" Offset="1"/>
</LinearGradientBrush>
</ProgressBar.Foreground>
</ProgressBar>
<TextBlock Text="TEMPERATURE SENSORS" Style="{StaticResource SectionHeader}" Margin="0,12,0,0"/>
<ScrollViewer MaxHeight="340" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="ThermalPanel"/>
</ScrollViewer>
</StackPanel>
</Border>
<Border Grid.Column="3" Style="{StaticResource ModernCard}" Margin="8"
AutomationProperties.Name="System status and hardware information">
<StackPanel Margin="20">
<TextBlock Text="SYSTEM STATUS" Style="{StaticResource SectionHeader}"/>
<StackPanel x:Name="SystemPanel" Margin="0,0,0,16"/>
<TextBlock Text="HARDWARE INFO" Style="{StaticResource SectionHeader}" Margin="0,12,0,0"/>
<ScrollViewer MaxHeight="300" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="HardwarePanel"/>
</ScrollViewer>
</StackPanel>
</Border>
</Grid>
</Grid>
</Window>