-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOptions.xaml
More file actions
735 lines (666 loc) · 53.2 KB
/
Copy pathOptions.xaml
File metadata and controls
735 lines (666 loc) · 53.2 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
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
<ResourceDictionary
x:Class="NirZonshine.NINA.TwoPointPolarAlignment.Options"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:local="clr-namespace:NirZonshine.NINA.TwoPointPolarAlignment"
xmlns:converters="clr-namespace:NirZonshine.NINA.TwoPointPolarAlignment.Converters"
xmlns:nina="clr-namespace:NINA.View.Sequencer;assembly=NINA.Sequencer">
<converters:NullableNumberToStringConverter x:Key="NullableNumberConverter" />
<!-- Object Data Providers for Enums -->
<ObjectDataProvider x:Key="RotationMethodValues" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
<ObjectDataProvider.MethodParameters>
<x:Type TypeName="local:RotationMethod"/>
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
<ObjectDataProvider x:Key="RotationDirectionValues" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
<ObjectDataProvider.MethodParameters>
<x:Type TypeName="local:RotationDirection"/>
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
<ObjectDataProvider x:Key="StartingPointModeValues" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
<ObjectDataProvider.MethodParameters>
<x:Type TypeName="local:StartingPointMode"/>
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
<ObjectDataProvider x:Key="AltKnobDirectionValues" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
<ObjectDataProvider.MethodParameters>
<x:Type TypeName="local:AltitudeKnobDirection"/>
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
<ObjectDataProvider x:Key="AzKnobDirectionValues" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
<ObjectDataProvider.MethodParameters>
<x:Type TypeName="local:AzimuthKnobDirection"/>
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
<ObjectDataProvider x:Key="ExposuresPerPointValues" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
<ObjectDataProvider.MethodParameters>
<x:Type TypeName="local:ExposuresPerPoint"/>
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
<!-- Static Arrays for Binning and Filters -->
<x:Array x:Key="BinningValues" Type="{x:Type sys:String}">
<sys:String>(Current)</sys:String>
<sys:String>1x1</sys:String>
<sys:String>2x2</sys:String>
<sys:String>3x3</sys:String>
<sys:String>4x4</sys:String>
</x:Array>
<x:Array x:Key="FilterValues" Type="{x:Type sys:String}">
<sys:String>(Current)</sys:String>
<sys:String>Luminance</sys:String>
<sys:String>Red</sys:String>
<sys:String>Green</sys:String>
<sys:String>Blue</sys:String>
<sys:String>Ha</sys:String>
<sys:String>OIII</sys:String>
<sys:String>SII</sys:String>
</x:Array>
<!-- Options DataTemplate (Plugin Options Tab) -->
<DataTemplate x:Key="2-Point Polar Alignment_Options">
<StackPanel Orientation="Vertical" Margin="10">
<TextBlock Text="2-Point Polar Alignment Options" FontSize="16" FontWeight="Bold" Foreground="{DynamicResource MahApps.Brushes.Accent}" Margin="0,0,0,10" />
<TextBlock Text="Currently there are no global options required. All settings can be adjusted directly per-instruction in the Advanced Sequencer." Foreground="#999" TextWrapping="Wrap" />
</StackPanel>
</DataTemplate>
<!-- Dockable DataTemplate (Imaging Screen Tab) -->
<DataTemplate x:Key="NirZonshine.NINA.TwoPointPolarAlignment.PolarAlignmentDockableVM_Dockable">
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<!-- Header and Status Card -->
<StackPanel Grid.Row="0" Orientation="Vertical">
<Border CornerRadius="8" Background="{DynamicResource MahApps.Brushes.Subtle}" Padding="15" Margin="0,0,0,10" BorderThickness="1" BorderBrush="{DynamicResource MahApps.Brushes.Accent}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="0" Orientation="Vertical">
<TextBlock Text="2-Point Polar Alignment" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource MahApps.Brushes.Accent}" />
<TextBlock Text="Align your mount with high precision using two plate-solved points." FontSize="12" Foreground="Gray" Margin="0,4,0,0" TextWrapping="Wrap" />
</StackPanel>
<Border Grid.Column="1" CornerRadius="4" Background="#1A2230" BorderThickness="1" BorderBrush="{Binding StatusIndicatorColor}" Padding="8,4" VerticalAlignment="Center">
<TextBlock Text="{Binding StatusIndicatorText}" FontWeight="Bold" Foreground="{Binding StatusIndicatorColor}" FontSize="11" />
</Border>
</Grid>
</Border>
<!-- Special Reversed Flow Indicator Badge -->
<Border CornerRadius="4" Background="#1D3A2A" BorderThickness="1" BorderBrush="#22C55E" Padding="10,6" Margin="0,0,0,6">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsReversedFlowActive}" Value="True">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="🔄" Foreground="#22C55E" FontSize="14" FontWeight="Bold" Margin="0,0,8,0" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Text="Reversed Flow Active - Running internally in opposite direction from current position." Foreground="#4ADE80" FontSize="11" FontWeight="SemiBold" VerticalAlignment="Center" />
</Grid>
</Border>
<!-- Blind Solver Warning Banner -->
<Border CornerRadius="4" Background="#3D2A14" BorderThickness="1" BorderBrush="#F59E0B" Padding="10,6" Margin="0,0,0,6">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsBlindSolvingActive}" Value="True">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="📡" Foreground="#F59E0B" FontSize="14" FontWeight="Bold" Margin="0,0,8,0" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Text="Blind Solver Engaged: Standby while the backup all-sky engine identifies the field..." Foreground="#FBBF24" FontSize="11" FontWeight="SemiBold" VerticalAlignment="Center" />
</Grid>
</Border>
<!-- Equipment Connection Alert Messages -->
<Border CornerRadius="4" Background="#3A1A1A" BorderThickness="1" BorderBrush="#FF4C4C" Padding="10,6" Margin="0,0,0,6">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsCameraConnected}" Value="False">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="⚠" Foreground="#FF4C4C" FontSize="14" FontWeight="Bold" Margin="0,0,8,0" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Text="CAMERA NOT CONNECTED - Connect a camera to use this plugin" Foreground="#FF8C8C" FontSize="11" FontWeight="SemiBold" VerticalAlignment="Center" />
</Grid>
</Border>
<Border CornerRadius="4" Background="#3A1A1A" BorderThickness="1" BorderBrush="#FF4C4C" Padding="10,6" Margin="0,0,0,10">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<DataTrigger Binding="{Binding ShowMountWarning}" Value="True">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="⚠" Foreground="#FF4C4C" FontSize="14" FontWeight="Bold" Margin="0,0,8,0" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Text="TELESCOPE NOT CONNECTED - Connect a telescope/mount to use this plugin" Foreground="#FF8C8C" FontSize="11" FontWeight="SemiBold" VerticalAlignment="Center" />
</Grid>
</Border>
</StackPanel>
<!-- Content Area (2-Column Layout: Left for image preview, Right for settings) -->
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.2*" /> <!-- Last Frame Captured -->
<ColumnDefinition Width="2*" /> <!-- Controls & Settings -->
</Grid.ColumnDefinitions>
<!-- Column 0: Last Captured Frame Preview -->
<Border Grid.Column="0" CornerRadius="8" Background="#141418" BorderThickness="1" BorderBrush="#2A2A30" Padding="10" Margin="0,0,10,0">
<Grid>
<!-- Placeholder camera icon when no image is captured -->
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<Path Data="M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4M4,6V18H20V6H4M11,7A3,3 0 0,1 14,10A3,3 0 0,1 11,13A3,3 0 0,1 8,10A3,3 0 0,1 11,7M18,8A1,1 0 0,1 19,9A1,1 0 0,1 18,10A1,1 0 0,1 17,9A1,1 0 0,1 18,8M5,16H19V17H5V16Z"
Fill="DimGray" Width="48" Height="48" HorizontalAlignment="Center" />
<TextBlock Text="Last Captured Frame" FontSize="13" FontWeight="Bold" Foreground="DarkGray" Margin="0,10,0,2" HorizontalAlignment="Center" />
<TextBlock Text="Exposures will show here." FontSize="10" Foreground="Gray" HorizontalAlignment="Center" TextWrapping="Wrap" />
</StackPanel>
<!-- Real Image overlay (covers placeholder once populated) -->
<Image Source="{Binding LastFrame}" Stretch="Uniform" />
<!-- Visual Target Overlay (HUD for manual feedback) -->
<Grid IsHitTestVisible="False" Opacity="0.55">
<Grid.Style>
<Style TargetType="Grid">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsRunning}" Value="True">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
</Style>
</Grid.Style>
<!-- Concentric HUD Rings -->
<Ellipse Width="160" Height="160" Stroke="#AA00FF7F" StrokeThickness="0.7" StrokeDashArray="4,4" HorizontalAlignment="Center" VerticalAlignment="Center" />
<Ellipse Width="70" Height="70" Stroke="#FF00FF7F" StrokeThickness="1.5" HorizontalAlignment="Center" VerticalAlignment="Center" />
<Ellipse Width="6" Height="6" Fill="#FF00FF7F" HorizontalAlignment="Center" VerticalAlignment="Center" />
<!-- Horizontal and Vertical Axis -->
<Rectangle Width="1" Fill="#7700FF7F" VerticalAlignment="Stretch" HorizontalAlignment="Center" Margin="0,15" />
<Rectangle Height="1" Fill="#7700FF7F" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="15,0" />
</Grid>
</Grid>
</Border>
<!-- Column 1: Control & Settings Center -->
<Border Grid.Column="1" CornerRadius="8" Background="{DynamicResource MahApps.Brushes.Subtle}" Padding="12" BorderThickness="1" BorderBrush="#2A2A30">
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" /> <!-- Action Buttons NOW AT TOP -->
<RowDefinition Height="Auto" /> <!-- Config Header -->
<RowDefinition Height="Auto" /> <!-- Inputs Grid -->
<RowDefinition Height="*" MinHeight="100" /> <!-- Logs ScrollViewer -->
</Grid.RowDefinitions>
<Grid.Resources>
<Style x:Key="ActionButtonStyle" TargetType="Button">
<Setter Property="Foreground" Value="White"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="buttonBorder" Background="{TemplateBinding Background}" CornerRadius="6" BorderThickness="0">
<Grid>
<Border x:Name="hoverGlow" Background="White" Opacity="0" CornerRadius="6"/>
<ContentPresenter x:Name="content" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="{TemplateBinding Padding}"/>
</Grid>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="hoverGlow" Property="Opacity" Value="0.18"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="hoverGlow" Property="Background" Value="Black"/>
<Setter TargetName="hoverGlow" Property="Opacity" Value="0.2"/>
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter TargetName="buttonBorder" Property="Background" Value="#353540"/>
<Setter TargetName="content" Property="Opacity" Value="0.5"/>
<Setter Property="Cursor" Value="Arrow"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<!-- 1. Action Buttons Grid (Moved to the Top) -->
<Grid Grid.Row="0" Margin="0,0,0,12">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!-- Start Button -->
<Button Grid.Row="0" Grid.Column="0" Content="Start Alignment Sequence" Command="{Binding StartAlignmentCommand}" Height="38" IsEnabled="{Binding CanStart}" Background="#22C55E" FontSize="14">
<Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource ActionButtonStyle}">
<!-- Default states (IsRunningFromSequence is False) -->
<Setter Property="Grid.ColumnSpan" Value="2" />
<Setter Property="Margin" Value="0,0,0,8" />
<Setter Property="Visibility" Value="Visible" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsRunningFromSequence}" Value="True">
<Setter Property="Grid.ColumnSpan" Value="1" />
<Setter Property="Margin" Value="0,0,4,8" />
</DataTrigger>
</Style.Triggers>
</Style>
</Button.Style>
</Button>
<!-- Resume Sequence Button -->
<Button Grid.Row="0" Grid.Column="1" Content="Resume Sequence" Command="{Binding ResumeSequenceCommand}" Height="38" Background="#A855F7" Margin="4,0,0,8" FontSize="14">
<Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource ActionButtonStyle}">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsRunningFromSequence}" Value="True">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
</Style>
</Button.Style>
</Button>
<!-- Stop Button -->
<Button Grid.Row="1" Grid.Column="0" Style="{StaticResource ActionButtonStyle}" Content="STOP" Command="{Binding StopAlignmentCommand}" Height="34" IsEnabled="{Binding IsRunning}" Background="#FF4C4C" Margin="0,0,4,0" />
<!-- Home Button -->
<Button Grid.Row="1" Grid.Column="1" Command="{Binding HomeAlignmentCommand}" Height="34" IsEnabled="{Binding CanHome}" Margin="4,0,0,0">
<Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource ActionButtonStyle}">
<!-- Default states (OverrideMountHome is False) -->
<Setter Property="Content" Value="HOME" />
<Setter Property="Background" Value="#3B82F6" />
<Setter Property="ToolTip" Value="Slew telescope to the mount's native ASCOM Home position." />
<!-- Custom/Override states (OverrideMountHome is True) -->
<Style.Triggers>
<DataTrigger Binding="{Binding OverrideMountHome}" Value="True">
<Setter Property="Content" Value="CUSTOM HOME" />
<Setter Property="Background" Value="#2563EB" />
<Setter Property="ToolTip" Value="Slew telescope to your locked Custom Polar Home position." />
</DataTrigger>
</Style.Triggers>
</Style>
</Button.Style>
</Button>
</Grid>
<!-- 2. Config Header & Prominent Estimated Cone Error -->
<Grid Grid.Row="1" Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="Alignment Settings" FontSize="13" FontWeight="Bold" Foreground="{DynamicResource MahApps.Brushes.Accent}" />
<TextBlock Grid.Column="1" Text="{Binding EstimatedConeErrorText}" FontSize="13" FontWeight="Bold" Foreground="{DynamicResource MahApps.Brushes.Accent}" HorizontalAlignment="Right" Margin="0,0,4,0" />
</Grid>
<!-- 3. Inputs Grid -->
<Grid Grid.Row="2" Margin="0,0,0,8" IsEnabled="{Binding CanEditSettings}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!-- Exposure Time -->
<StackPanel Grid.Row="0" Grid.Column="0" Margin="0,0,4,6">
<TextBlock Text="Exposure (s)" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<TextBox Text="{Binding ExposureTime, Converter={StaticResource NullableNumberConverter}, UpdateSourceTrigger=PropertyChanged}" Height="24" VerticalContentAlignment="Center" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" Padding="4,0" ToolTip="Leave empty to use active camera exposure time from Imaging tab." />
</StackPanel>
<!-- Gain -->
<StackPanel Grid.Row="0" Grid.Column="1" Margin="4,0,4,6">
<TextBlock Text="Gain" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<TextBox Text="{Binding Gain, Converter={StaticResource NullableNumberConverter}, UpdateSourceTrigger=PropertyChanged}" Height="24" VerticalContentAlignment="Center" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" Padding="4,0" ToolTip="Leave empty to use active camera gain from Imaging tab." />
</StackPanel>
<!-- Binning Selection -->
<StackPanel Grid.Row="0" Grid.Column="2" Margin="4,0,0,6">
<TextBlock Text="Binning" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox ItemsSource="{Binding Source={StaticResource BinningValues}}" SelectedItem="{Binding Binning}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" />
</StackPanel>
<!-- Rotation Amount -->
<StackPanel Grid.Row="1" Grid.Column="0" Margin="0,0,4,6">
<TextBlock Text="Rotation Amount (°)" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<TextBox Text="{Binding RotationAmount, UpdateSourceTrigger=PropertyChanged}" Height="24" VerticalContentAlignment="Center" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" Padding="4,0" />
</StackPanel>
<!-- Rotation Direction -->
<StackPanel Grid.Row="1" Grid.Column="1" Margin="4,0,4,6">
<TextBlock Text="Direction" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox ItemsSource="{Binding Source={StaticResource RotationDirectionValues}}" SelectedItem="{Binding Direction}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" />
</StackPanel>
<!-- Rotation Method -->
<StackPanel Grid.Row="1" Grid.Column="2" Margin="4,0,0,6">
<TextBlock Text="Method" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox ItemsSource="{Binding Source={StaticResource RotationMethodValues}}" SelectedItem="{Binding Method}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" />
</StackPanel>
<!-- Starting Point Mode -->
<StackPanel Grid.Row="2" Grid.Column="0" Margin="0,0,4,6">
<TextBlock Text="Starting Point" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox ItemsSource="{Binding Source={StaticResource StartingPointModeValues}}" SelectedItem="{Binding StartingPoint}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" />
</StackPanel>
<!-- Filter Selection -->
<StackPanel Grid.Row="2" Grid.Column="1" Margin="4,0,4,6">
<TextBlock Text="Filter" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox ItemsSource="{Binding Filters}" SelectedItem="{Binding Filter}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" />
</StackPanel>
<!-- Offset -->
<StackPanel Grid.Row="2" Grid.Column="2" Margin="4,0,0,6">
<TextBlock Text="Offset" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<TextBox Text="{Binding Offset, Converter={StaticResource NullableNumberConverter}, UpdateSourceTrigger=PropertyChanged}" Height="24" VerticalContentAlignment="Center" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" Padding="4,0" ToolTip="Leave empty to use active camera offset from Imaging tab." />
</StackPanel>
<!-- Plate Solve Retries -->
<StackPanel Grid.Row="3" Grid.Column="0" Margin="0,0,4,6">
<TextBlock Text="Plate Solve Retries" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<TextBox Text="{Binding PlateSolveRetries, UpdateSourceTrigger=PropertyChanged}" Height="24" VerticalContentAlignment="Center" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" Padding="4,0" />
</StackPanel>
<!-- Rough Finder Rescue Option -->
<StackPanel Grid.Row="3" Grid.Column="1" Margin="4,0,4,6">
<TextBlock Text="Rough Finder" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<CheckBox Content="Rescue Mode" IsChecked="{Binding EnableOnePointAlignment, UpdateSourceTrigger=PropertyChanged}" Foreground="#AADDAA" FontSize="10" FontWeight="SemiBold" Height="24" VerticalContentAlignment="Center" Cursor="Hand" />
</StackPanel>
<!-- Az Knob Visualization -->
<StackPanel Grid.Row="3" Grid.Column="2" Margin="4,0,0,6">
<TextBlock Text="Azimuth Knob Turn" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox ItemsSource="{Binding Source={StaticResource AzKnobDirectionValues}}" SelectedItem="{Binding AzKnobDirection}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" />
</StackPanel>
<!-- Alt Knob Visualization (NEW ROW 4) -->
<StackPanel Grid.Row="4" Grid.Column="0" Margin="0,0,4,0">
<TextBlock Text="Altitude Knob Turn" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox ItemsSource="{Binding Source={StaticResource AltKnobDirectionValues}}" SelectedItem="{Binding AltKnobDirection}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" />
</StackPanel>
<!-- Override Mount Home -->
<StackPanel Grid.Row="4" Grid.Column="1" Margin="4,0,4,0">
<TextBlock Text="Override Mount Home" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox SelectedIndex="{Binding OverrideMountHomeIndex}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White">
<ComboBoxItem Content="False" />
<ComboBoxItem Content="True" />
</ComboBox>
</StackPanel>
<!-- Lock Custom Polar Home Button -->
<StackPanel Grid.Row="4" Grid.Column="2" Margin="4,0,0,0" VerticalAlignment="Bottom">
<Button Content="Lock Polar Home" Command="{Binding LockPolarHomeCommand}" Style="{StaticResource ActionButtonStyle}" Background="#E11D48" Height="24" IsEnabled="{Binding OverrideMountHome}" Cursor="Hand" FontSize="10" />
</StackPanel>
<!-- Exposures Per Point -->
<StackPanel Grid.Row="5" Grid.Column="0" Margin="0,6,4,0">
<TextBlock Text="Exposures Per Point" FontSize="10" Foreground="DarkGray" Margin="0,0,0,2" />
<ComboBox ItemsSource="{Binding Source={StaticResource ExposuresPerPointValues}}" SelectedItem="{Binding ExposuresPerPoint}" Height="24" Background="#1E1E24" BorderBrush="#3D3D45" Foreground="White" ToolTip="Captures multiple consecutive exposures at each of the two alignment positions to average out tracking jitter and filter out bad plate solves due to wind or poor seeing." />
</StackPanel>
</Grid>
<!-- Log Console -->
<Border Grid.Row="3" CornerRadius="4" Background="#111115" BorderThickness="1" BorderBrush="#222228" Padding="8" Margin="0,4,0,8">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock Text="Alignment Logs" FontSize="10" FontWeight="Bold" Foreground="Gray" Margin="0,0,0,4" />
<TextBlock Text="{Binding Logs}" FontSize="10" Foreground="#9AFF9A" TextWrapping="Wrap" />
</StackPanel>
</ScrollViewer>
</Border>
</Grid>
</ScrollViewer>
</Border>
</Grid>
<!-- Row 2: Responsive horizontal row of three cards (Azimuth, Altitude, Total Error) -->
<Grid Grid.Row="2" Margin="0,10,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!-- Azimuth Card -->
<Border Grid.Column="0" CornerRadius="8" Padding="15" Margin="0,0,10,0">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="#1A1A20"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="BorderBrush" Value="#2D2D35"/>
<Style.Triggers>
<DataTrigger Binding="{Binding IsAzimuthPriority}" Value="True">
<Setter Property="BorderBrush" Value="#F59E0B"/>
<Setter Property="BorderThickness" Value="1.5"/>
<Setter Property="Background" Value="#201C18"/>
</DataTrigger>
<DataTrigger Binding="{Binding IsPreviousAlignmentDimmed}" Value="True">
<Setter Property="Opacity" Value="0.45"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,5">
<TextBlock Text="⚠ " Foreground="#FBBF24" FontSize="12" VerticalAlignment="Center">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Setter Property="Visibility" Value="Collapsed"/>
<Style.Triggers>
<DataTrigger Binding="{Binding IsAzimuthPriority}" Value="True">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
<TextBlock Text="AZIMUTH ERROR" FontSize="11" Foreground="Gray" FontWeight="SemiBold" VerticalAlignment="Center" />
</StackPanel>
<TextBlock Text="{Binding AzimuthError}" FontSize="16" FontWeight="SemiBold" Foreground="#72BDFF" Margin="0,0,0,5" HorizontalAlignment="Center" />
<TextBlock Text="{Binding AzimuthInstruction}" FontSize="24" FontWeight="Bold" Foreground="#72BDFF" HorizontalAlignment="Center" />
</StackPanel>
</Border>
<!-- Altitude Card -->
<Border Grid.Column="1" CornerRadius="8" Padding="15" Margin="0,0,10,0">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="#1A1A20"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="BorderBrush" Value="#2D2D35"/>
<Style.Triggers>
<DataTrigger Binding="{Binding IsAltitudePriority}" Value="True">
<Setter Property="BorderBrush" Value="#F59E0B"/>
<Setter Property="BorderThickness" Value="1.5"/>
<Setter Property="Background" Value="#201C18"/>
</DataTrigger>
<DataTrigger Binding="{Binding IsPreviousAlignmentDimmed}" Value="True">
<Setter Property="Opacity" Value="0.45"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,5">
<TextBlock Text="⚠ " Foreground="#FBBF24" FontSize="12" VerticalAlignment="Center">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Setter Property="Visibility" Value="Collapsed"/>
<Style.Triggers>
<DataTrigger Binding="{Binding IsAltitudePriority}" Value="True">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
<TextBlock Text="ALTITUDE ERROR" FontSize="11" Foreground="Gray" FontWeight="SemiBold" VerticalAlignment="Center" />
</StackPanel>
<TextBlock Text="{Binding AltitudeError}" FontSize="16" FontWeight="SemiBold" Foreground="#FFE79A" Margin="0,0,0,5" HorizontalAlignment="Center" />
<TextBlock Text="{Binding AltitudeInstruction}" FontSize="24" FontWeight="Bold" Foreground="#FFE79A" HorizontalAlignment="Center" />
</StackPanel>
</Border>
<!-- Total Error Card -->
<Border Grid.Column="2" CornerRadius="8" Background="#1A1A20" BorderThickness="1" BorderBrush="#2D2D35" Padding="15">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="#1A1A20"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="BorderBrush" Value="#2D2D35"/>
<Style.Triggers>
<DataTrigger Binding="{Binding IsPreviousAlignmentDimmed}" Value="True">
<Setter Property="Opacity" Value="0.45"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<TextBlock Text="TOTAL ERROR" FontSize="11" Foreground="Gray" HorizontalAlignment="Center" FontWeight="SemiBold" />
<TextBlock Text="{Binding TotalError}" FontSize="24" FontWeight="Bold" Foreground="{Binding TotalErrorColor}" Margin="0,5,0,5" HorizontalAlignment="Center" />
<TextBlock Text="{Binding TotalErrorRating}" FontSize="16" FontWeight="SemiBold" Foreground="{Binding TotalErrorRatingColor}" HorizontalAlignment="Center" />
</StackPanel>
</Border>
</Grid>
</Grid>
</DataTemplate>
<!-- Sequence Item DataTemplate -->
<DataTemplate DataType="{x:Type local:TwoPointPolarAlignmentSequenceItem}">
<nina:SequenceBlockView>
<nina:SequenceBlockView.SequenceItemContent>
<StackPanel Orientation="Vertical" Margin="0,2,0,2">
<!-- Row 1: Exposure, Gain, Binning, Offset, Filter -->
<WrapPanel Orientation="Horizontal" Margin="0,0,0,6">
<!-- Exposure -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Exposure Time" VerticalAlignment="Center" Margin="0,0,5,0" />
<TextBox Text="{Binding ExposureTime, Converter={StaticResource NullableNumberConverter}, UpdateSourceTrigger=PropertyChanged}" Width="60" Height="22" VerticalContentAlignment="Center" TextAlignment="Right" />
<TextBlock Text="s" VerticalAlignment="Center" Margin="2,0,0,0" />
</StackPanel>
<!-- Gain -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Gain" VerticalAlignment="Center" Margin="0,0,5,0" />
<TextBox Text="{Binding Gain, Converter={StaticResource NullableNumberConverter}, UpdateSourceTrigger=PropertyChanged}" Width="60" Height="22" VerticalContentAlignment="Center" TextAlignment="Right" />
</StackPanel>
<!-- Binning -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Binning" VerticalAlignment="Center" Margin="0,0,5,0" />
<ComboBox ItemsSource="{Binding Source={StaticResource BinningValues}}" SelectedItem="{Binding Binning}" Width="75" Height="22" VerticalContentAlignment="Center" />
</StackPanel>
<!-- Offset -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Offset" VerticalAlignment="Center" Margin="0,0,5,0" />
<TextBox Text="{Binding Offset, Converter={StaticResource NullableNumberConverter}, UpdateSourceTrigger=PropertyChanged}" Width="60" Height="22" VerticalContentAlignment="Center" TextAlignment="Right" />
</StackPanel>
<!-- Filter -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Filter" VerticalAlignment="Center" Margin="0,0,5,0" />
<ComboBox ItemsSource="{Binding Filters}" SelectedItem="{Binding Filter}" Width="90" Height="22" VerticalContentAlignment="Center" />
</StackPanel>
</WrapPanel>
<!-- Row 2: Method, Starting Point, Rotation Amount, Direction -->
<WrapPanel Orientation="Horizontal" Margin="0,0,0,6">
<!-- Method -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Method" VerticalAlignment="Center" Margin="0,0,5,0" />
<ComboBox ItemsSource="{Binding Source={StaticResource RotationMethodValues}}" SelectedItem="{Binding Method}" Width="90" Height="22" VerticalContentAlignment="Center" />
</StackPanel>
<!-- Starting Point -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Starting Point" VerticalAlignment="Center" Margin="0,0,5,0" />
<ComboBox ItemsSource="{Binding Source={StaticResource StartingPointModeValues}}" SelectedItem="{Binding StartingPoint}" Width="140" Height="22" VerticalContentAlignment="Center" />
</StackPanel>
<!-- Rotation Amount -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Rotation Amount" VerticalAlignment="Center" Margin="0,0,5,0" />
<TextBox Text="{Binding RotationAmount, UpdateSourceTrigger=PropertyChanged}" Width="45" Height="22" VerticalContentAlignment="Center" TextAlignment="Right" />
<TextBlock Text="°" VerticalAlignment="Center" Margin="2,0,0,0" />
</StackPanel>
<!-- Direction -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Direction" VerticalAlignment="Center" Margin="0,0,5,0" />
<ComboBox ItemsSource="{Binding Source={StaticResource RotationDirectionValues}}" SelectedItem="{Binding Direction}" Width="65" Height="22" VerticalContentAlignment="Center" />
</StackPanel>
</WrapPanel>
<!-- Row 3: Plate Solve Retries, Exposures Per Point, Rescue Mode -->
<WrapPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,6">
<!-- Plate Solve Retries -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Plate Solve Retries" VerticalAlignment="Center" Margin="0,0,5,0" />
<TextBox Text="{Binding PlateSolveRetries, UpdateSourceTrigger=PropertyChanged}" Width="35" Height="22" VerticalContentAlignment="Center" TextAlignment="Right" />
</StackPanel>
<!-- Exposures Per Point -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Exposures Per Point" VerticalAlignment="Center" Margin="0,0,5,0" />
<ComboBox ItemsSource="{Binding Source={StaticResource ExposuresPerPointValues}}" SelectedItem="{Binding ExposuresPerPoint}" Width="90" Height="22" VerticalContentAlignment="Center" />
</StackPanel>
<!-- Rescue Mode (Rough Finder) -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center">
<TextBlock Text="Rough Finder Rescue Mode" VerticalAlignment="Center" Margin="0,0,5,0" ToolTip="Enables an interactive rescue mode to guide you back if the mount points too far from the pole or if plate solving fails." />
<CheckBox IsChecked="{Binding EnableOnePointAlignment, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" ToolTip="Enables an interactive rescue mode to guide you back if the mount points too far from the pole or if plate solving fails." />
</StackPanel>
</WrapPanel>
<!-- Row 4: Force Home Position, Measurement Only, Auto-Complete Tolerance, Stable Frames, Verification Passes -->
<WrapPanel Orientation="Horizontal" VerticalAlignment="Center">
<!-- Force Home Position -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center" ToolTip="Sends the mount to Home position before starting the polar alignment routine.">
<TextBlock Text="Force Home Position" VerticalAlignment="Center" Margin="0,0,5,0" />
<CheckBox IsChecked="{Binding ForceHomePosition, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" />
</StackPanel>
<!-- Measurement Only -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center" ToolTip="Measure the current polar alignment error only (do not enter live adjustment loop).">
<TextBlock Text="Measurement Only" VerticalAlignment="Center" Margin="0,0,5,0" />
<CheckBox IsChecked="{Binding MeasureOnly, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" />
</StackPanel>
<!-- Auto-Complete Tolerance -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center" IsEnabled="{Binding IsAutoCompleteAllowed}" ToolTip="The target polar alignment error in arcminutes below which the sequence will automatically proceed. Set to 0 to disable.">
<TextBlock Text="Auto-Complete Tolerance" VerticalAlignment="Center" Margin="0,0,5,0" />
<TextBox Text="{Binding AutoCompleteTolerance, UpdateSourceTrigger=PropertyChanged}" Width="35" Height="22" VerticalContentAlignment="Center" TextAlignment="Right" />
<TextBlock Text="′" VerticalAlignment="Center" Margin="2,0,0,0" />
</StackPanel>
<!-- Stable Frames -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center" IsEnabled="{Binding IsStableFramesAllowed}" ToolTip="Number of consecutive solved frames that must remain below the tolerance threshold before advancing.">
<TextBlock Text="Stable Frames" VerticalAlignment="Center" Margin="0,0,5,0" />
<TextBox Text="{Binding AutoCompleteStableExposures, UpdateSourceTrigger=PropertyChanged}" Width="35" Height="22" VerticalContentAlignment="Center" TextAlignment="Right" />
</StackPanel>
<!-- Verification Passes -->
<StackPanel Orientation="Horizontal" Margin="0,0,12,0" VerticalAlignment="Center" IsEnabled="{Binding IsVerificationPassesAllowed}" ToolTip="Number of reverse-direction validation passes to perform before final completion.">
<TextBlock Text="Verification Passes" VerticalAlignment="Center" Margin="0,0,5,0" />
<TextBox Text="{Binding VerificationPasses, UpdateSourceTrigger=PropertyChanged}" Width="35" Height="22" VerticalContentAlignment="Center" TextAlignment="Right" />
</StackPanel>
</WrapPanel>
</StackPanel>
</nina:SequenceBlockView.SequenceItemContent>
<nina:SequenceBlockView.SequenceItemProgressContent>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,10,0">
<!-- Total Error -->
<StackPanel Orientation="Vertical" VerticalAlignment="Center">
<TextBlock Text="Total Error" HorizontalAlignment="Right" Opacity="0.6" FontSize="10" />
<TextBlock Text="{Binding CurrentErrorDisplay}" Foreground="{Binding CurrentErrorColorHex}" HorizontalAlignment="Right" FontWeight="Bold" FontSize="13" />
</StackPanel>
</StackPanel>
</nina:SequenceBlockView.SequenceItemProgressContent>
</nina:SequenceBlockView>
</DataTemplate>
</ResourceDictionary>