-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfigWin.xaml
1655 lines (1624 loc) · 124 KB
/
ConfigWin.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Window x:Class="SkinText.ConfigWin"
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:SkinText"
xmlns:ncore="http://schemas.ncore.com/wpf/xaml/colorbox"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
mc:Ignorable="d"
Title="Window Config"
Height="520" MinHeight="520" MaxHeight="520"
Width="720" MinWidth="720" MaxWidth="720"
WindowStyle="None"
SnapsToDevicePixels="True"
UseLayoutRounding="True"
ResizeMode="NoResize"
ShowInTaskbar="True"
Topmost="True"
WindowStartupLocation="CenterOwner"
AllowsTransparency="True"
Background="{DynamicResource BackgroundColorBrush}"
BorderBrush="{DynamicResource BorderColorBrush}"
BorderThickness="2"
Padding="5"
MouseDown="Window_MouseDown">
<Window.Resources>
<Style x:Key="FocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource ButtonBorderCheckedColorBrush}" StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="TabItemStyle1" TargetType="{x:Type TabItem}">
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}" />
<Setter Property="Foreground" Value="Black" />
<Setter Property="Background" Value="{DynamicResource ButtonBackgroundColorBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="Margin" Value="0" />
<Setter Property="Padding" Value="6,2,6,2" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TabItem}">
<Grid x:Name="templateRoot" SnapsToDevicePixels="true">
<Border x:Name="mainBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,0" Background="{TemplateBinding Background}" Margin="0">
<Border x:Name="innerBorder" BorderBrush="{DynamicResource ButtonBorderCheckedColorBrush}" BorderThickness="1,1,1,0" Background="{DynamicResource ButtonBackgroundColorBrush}" Margin="-1" Opacity="0" />
</Border>
<ContentPresenter x:Name="contentPresenter" ContentSource="Header" Focusable="False" HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
</Grid>
<ControlTemplate.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left" />
</MultiDataTrigger.Conditions>
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource ButtonBackgroundMouseOverColorBrush}" />
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource ButtonBorderMouseOverColorBrush}" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom" />
</MultiDataTrigger.Conditions>
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource ButtonBackgroundMouseOverColorBrush}" />
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource ButtonBorderMouseOverColorBrush}" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right" />
</MultiDataTrigger.Conditions>
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource ButtonBackgroundMouseOverColorBrush}" />
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource ButtonBorderMouseOverColorBrush}" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top" />
</MultiDataTrigger.Conditions>
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource ButtonBackgroundMouseOverColorBrush}" />
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource ButtonBorderMouseOverColorBrush}" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left" />
</MultiDataTrigger.Conditions>
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56" />
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom" />
</MultiDataTrigger.Conditions>
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56" />
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right" />
</MultiDataTrigger.Conditions>
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56" />
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top" />
</MultiDataTrigger.Conditions>
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.56" />
<Setter Property="Background" TargetName="mainBorder" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderBrush" TargetName="mainBorder" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="false" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left" />
</MultiDataTrigger.Conditions>
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="true" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Left" />
</MultiDataTrigger.Conditions>
<Setter Property="Panel.ZIndex" Value="1" />
<Setter Property="Margin" Value="-2,-2,0,-2" />
<Setter Property="Opacity" TargetName="innerBorder" Value="1" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,0,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,0,1" />
<Setter Property="Background" TargetName="innerBorder" Value="{DynamicResource ButtonBackgroundCheckedColorBrush}"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="false" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom" />
</MultiDataTrigger.Conditions>
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="true" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Bottom" />
</MultiDataTrigger.Conditions>
<Setter Property="Panel.ZIndex" Value="1" />
<Setter Property="Margin" Value="-2,0,-2,-2" />
<Setter Property="Opacity" TargetName="innerBorder" Value="1" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,0,1,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,0,1,1" />
<Setter Property="Background" TargetName="innerBorder" Value="{DynamicResource ButtonBackgroundCheckedColorBrush}"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="false" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right" />
</MultiDataTrigger.Conditions>
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="true" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Right" />
</MultiDataTrigger.Conditions>
<Setter Property="Panel.ZIndex" Value="1" />
<Setter Property="Margin" Value="0,-2,-2,-2" />
<Setter Property="Opacity" TargetName="innerBorder" Value="1" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="0,1,1,1" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="0,1,1,1" />
<Setter Property="Background" TargetName="innerBorder" Value="{DynamicResource ButtonBackgroundCheckedColorBrush}"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="false" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top" />
</MultiDataTrigger.Conditions>
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0" />
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource Self}}" Value="true" />
<Condition Binding="{Binding TabStripPlacement, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="Top" />
</MultiDataTrigger.Conditions>
<Setter Property="Panel.ZIndex" Value="1" />
<Setter Property="Margin" Value="-2,-2,-2,0" />
<Setter Property="Opacity" TargetName="innerBorder" Value="1" />
<Setter Property="BorderThickness" TargetName="innerBorder" Value="1,1,1,0" />
<Setter Property="BorderThickness" TargetName="mainBorder" Value="1,1,1,0" />
<Setter Property="Background" TargetName="innerBorder" Value="{DynamicResource ButtonBackgroundCheckedColorBrush}"/>
</MultiDataTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="TextBoxStyle" TargetType="{x:Type TextBox}">
<Setter Property="Margin" Value="5"/>
<Setter Property="AcceptsReturn" Value="False"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="BorderBrush" Value="{DynamicResource BorderColorBrush}"/>
<Setter Property="Background" Value="{DynamicResource ButtonBackgroundColorBrush}"/>
<Setter Property="Foreground" Value="{DynamicResource ButtonFrontColorBrush}"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="{DynamicResource ButtonBackgroundMouseOverColorBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderMouseOverColorBrush}" />
</Trigger>
<Trigger Property="IsEnabled" Value="false">
<Setter Property="Background" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource MenuItem2DisabledColorBrush}" />
<Setter Property="Opacity" Value="0.6" />
</Trigger>
</Style.Triggers>
</Style>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Center">
<TextBlock Text="Configuration Window" Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Button x:Name="CloseButt" Grid.Column="1" Grid.Row="0" Click="CloseButt_Click" Style="{DynamicResource ButtonsStyle}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" HorizontalAlignment="Right" Width="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource Self}}" VerticalAlignment="Stretch">
<Canvas Width="22" Height="22" Clip="F1 M 0,0L 22,0L 22,22L 0,22L 0,0">
<Path Width="22" Height="22"
Canvas.Left="0" Canvas.Top="0"
Stretch="Uniform"
Fill="{DynamicResource ButtonFrontColorBrush}"
Data="F1 M 26.9166,22.1667L 37.9999,33.25L 49.0832,22.1668L 53.8332,26.9168L 42.7499,38L 53.8332,49.0834L 49.0833,53.8334L 37.9999,42.75L 26.9166,53.8334L 22.1666,49.0833L 33.25,38L 22.1667,26.9167L 26.9166,22.1667 Z " />
</Canvas>
</Button>
<Button x:Name="HelpButt" Grid.Column="1" Grid.Row="0" Click="HelpButt_Click" Style="{DynamicResource ButtonsStyle}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" HorizontalAlignment="Right" Width="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource Self}}" VerticalAlignment="Stretch"
Margin="0px 0px 30px 0px ">
<Canvas Width="22" Height="22" Clip="F1 M 0,0L 22,0L 22,22L 0,22L 0,0">
<Path Width="22" Height="22"
Canvas.Left="0" Canvas.Top="0"
Stretch="Uniform"
Fill="{DynamicResource ButtonFrontColorBrush}"
Data="M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z" />
</Canvas>
</Button>
<TabControl Grid.Row="1" Grid.ColumnSpan="2" BorderBrush="{DynamicResource ButtonBorderCheckedColorBrush}" Background="{DynamicResource BackgroundColorBrush}" TabStripPlacement="Left">
<TabItem Style="{DynamicResource TabItemStyle1}">
<TabItem.Header>
<Label>
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set SkinText Colors" Style="{DynamicResource ToolTipTextStyle}"/>
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="Colors" Style="{DynamicResource ToolTipTextStyle}" Foreground="{DynamicResource ButtonFrontColorBrush}" />
</Label>
</TabItem.Header>
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="190" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label Grid.Column="1" Grid.Row="0" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Normal" Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Label Grid.Column="2" Grid.Row="0" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Mouse Over" Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Label Grid.Column="3" Grid.Row="0" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Selected" Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Label Grid.Column="0" Grid.Row="1">
<TextBlock Text="Windows Background: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_BackgroundColorBrush"
Grid.Column="1" Grid.Row="1"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="2">
<TextBlock Text="Button Background: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_ButtonBackgroundColorBrush"
Grid.Column="1" Grid.Row="2"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<xctk:ColorPicker x:Name="ClrPcker_ButtonBackgroundMouseOverColorBrush"
Grid.Column="2" Grid.Row="2"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<xctk:ColorPicker x:Name="ClrPcker_ButtonBackgroundCheckedColorBrush"
Grid.Column="3" Grid.Row="2"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="3">
<TextBlock Text="Button Border: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_ButtonBorderMouseOverColorBrush"
Grid.Column="2" Grid.Row="3"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<xctk:ColorPicker x:Name="ClrPcker_ButtonBorderCheckedColorBrush"
Grid.Column="3" Grid.Row="3"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="4">
<TextBlock Text="Button Text: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_ButtonFrontColorBrush"
Grid.Column="1" Grid.Row="4"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="5">
<TextBlock Text="Text: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_TextColorBrush"
Grid.Column="1" Grid.Row="5"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="6">
<TextBlock Text="FontPicker Background: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_FontPickBackgroundColorBrush"
Grid.Column="1" Grid.Row="6"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<xctk:ColorPicker x:Name="ClrPcker_FontPickMouseOverBackgroundColorBrush"
Grid.Column="2" Grid.Row="6"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<xctk:ColorPicker x:Name="ClrPcker_FontPickSelectedBackgroundColorBrush"
Grid.Column="3" Grid.Row="6"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="7">
<TextBlock Text="FontPicker Border: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_FontPickMouseOverBorderColorBrush"
Grid.Column="2" Grid.Row="7"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<xctk:ColorPicker x:Name="ClrPcker_FontPickSelectedBorderColorBrush"
Grid.Column="3" Grid.Row="7"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="8">
<TextBlock Text="FontPicker Text: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_FontPickTextColorBrush"
Grid.Column="1" Grid.Row="8"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="9">
<TextBlock Text="Menu Background: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_MenuBackgroundColorBrush"
Grid.Column="1" Grid.Row="9"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="10">
<TextBlock Text="MenuItem1 Border: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_MenuItem1BorderColorBrush"
Grid.Column="1" Grid.Row="10"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="11">
<TextBlock Text="MenuItem2 Text: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_MenuItem2HighlightTextColorBrush"
Grid.Column="2" Grid.Row="11"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="12">
<TextBlock Text="MenuItem2 Border: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_MenuItem2HighlightBorderColorBrush"
Grid.Column="2" Grid.Row="12"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="13">
<TextBlock Text="Disabled Item Color: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_MenuItem2DisabledColorBrush"
Grid.Column="1" Grid.Row="13"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="14">
<TextBlock Text="Main Window Color: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_MainWindowBackgroundColorBrush"
Grid.Column="1" Grid.Row="14"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="15">
<TextBlock Text="Text Background Color: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_RTBBackgroundColorBrush"
Grid.Column="1" Grid.Row="15"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<Label Grid.Column="0" Grid.Row="16">
<TextBlock Text="Text Border Color: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:ColorPicker x:Name="ClrPcker_BorderColorBrush"
Grid.Column="1" Grid.Row="16"
SelectedColorChanged="ClrPcker_SelectedColorChanged"
Style="{DynamicResource ColorPickerStyle}"
DisplayColorAndName="True" ColorMode="ColorCanvas" />
<!-- ncore:ColorBox x:Name="GradientPicker1"
Grid.Column="2" Grid.Row="16"
ColorChanged="GradientPicker1_ColorChanged"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
-->
</Grid>
</TabItem>
<TabItem Style="{DynamicResource TabItemStyle1}">
<TabItem.Header>
<Label>
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set SkinText text area properties" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="Text" Style="{DynamicResource ToolTipTextStyle}" Foreground="{DynamicResource ButtonFrontColorBrush}"/>
</Label>
</TabItem.Header>
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="4*" />
<ColumnDefinition Width="4*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="10" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label Grid.Column="0" Grid.Row="0" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Rotation Angle: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="0" Minimum="0" Maximum="359" TickFrequency="1" IsSnapToTickEnabled="True" x:Name="slValue" SmallChange="1" Margin="10,0,10,0" ValueChanged="SlValue_ValueChanged" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="0"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=slValue}"
Maximum="{Binding Maximum, ElementName=slValue}"
Value="{Binding Value, ElementName=slValue}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<Label Grid.Column="0" Grid.Row="1" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Flip Text:" Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Grid Grid.Column="1" Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ToggleButton x:Name="FlipXButton" Grid.Column="0" Width="30" Height="30" Checked="FlipXButton_Checked" Unchecked="FlipXButton_Checked"
Style="{DynamicResource ToggleButtonsStyle}">
<ToggleButton.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Flip Vertically" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</ToggleButton.ToolTip>
<Canvas Width="22" Height="22" Clip="F1 M 0,0L 22,0L 22,22L 0,22L 0,0">
<Path Width="22" Height="22"
Canvas.Left="0" Canvas.Top="0"
Stretch="Uniform"
Fill="{DynamicResource ButtonFrontColorBrush}"
Data="F1 M 39,16L 59,55L 39,55L 39,16 Z M 42,28.5L 42,52L 53.5,52L 42,28.5 Z M 37,16L 37,23.0801L 35.201,26.6107L 32.6005,24.579L 37,16 Z M 37,46L 34,46L 34,42L 37,42L 37,46 Z M 34,37.2663L 37,31.4805L 37,39L 34,39L 34,37.2663 Z M 30.3236,36.0126L 27.763,34.012L 30.8286,28.0342L 33.2877,29.9555L 30.3236,36.0126 Z M 25.7931,45.2705L 23.0775,43.1489L 25.9911,37.4673L 28.6103,39.5137L 25.7931,45.2705 Z M 37,55L 34,55L 34,49L 37,49L 37,55 Z M 17,55L 21.3055,46.6041L 24.0798,48.7716L 22.5,52L 24,52L 24,55L 17,55 Z M 31,52L 31,55L 27,55L 27,52L 31,52 Z " />
</Canvas>
</ToggleButton>
<ToggleButton x:Name="FlipYButton" Grid.Column="1" Grid.Row="19" Width="30" Height="30" Checked="FlipXButton_Checked" Unchecked="FlipXButton_Checked"
Style="{DynamicResource ToggleButtonsStyle}">
<ToggleButton.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Flip Horizontally" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</ToggleButton.ToolTip>
<Canvas Width="22" Height="22" Clip="F1 M 0,0L 22,0L 22,22L 0,22L 0,0">
<Path Width="22" Height="22"
Canvas.Left="0" Canvas.Top="0"
Stretch="Uniform"
Fill="{DynamicResource ButtonFrontColorBrush}"
Data="F1 M 14,37L 53,17L 53,37L 14,37 Z M 26.5,34L 50,34L 50,22.5L 26.5,34 Z M 14,39L 21.0801,39L 24.6107,40.799L 22.579,43.3995L 14,39 Z M 44,39L 44,42L 40,42L 40,39L 44,39 Z M 35.2663,42L 29.4805,39L 37,39L 37,42L 35.2663,42 Z M 34.0126,45.6764L 32.012,48.237L 26.0342,45.1714L 27.9555,42.7123L 34.0126,45.6764 Z M 43.2705,50.2069L 41.1489,52.9225L 35.4673,50.0089L 37.5136,47.3897L 43.2705,50.2069 Z M 53,39L 53,42L 47,42L 47,39L 53,39 Z M 53,59L 44.6041,54.6945L 46.7716,51.9202L 50,53.5L 50,52L 53,52L 53,59 Z M 50,45L 53,45L 53,49L 50,49L 50,45 Z " />
</Canvas>
</ToggleButton>
</Grid>
<Label Grid.Column="0" Grid.Row="2" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Text Opacity: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="2" Minimum="0" Maximum="100" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" x:Name="textopacityslider" ValueChanged="TextOpacityslider_ValueChanged" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="2"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=textopacityslider}"
Maximum="{Binding Maximum, ElementName=textopacityslider}"
Value="{Binding Value, ElementName=textopacityslider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<CheckBox x:Name="readOnlyCheck" Grid.Column="0" Grid.Row="3" VerticalAlignment="Center" Margin="10,0,10,0" Checked="ReadOnlyCheck_Checked" Unchecked="ReadOnlyCheck_Checked" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center">
<CheckBox.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Disable Text Editing" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</CheckBox.ToolTip>
<TextBlock Text="Read Only " Style="{DynamicResource ToolTipTextStyle}" />
</CheckBox>
<CheckBox x:Name="spellcheck" Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" Margin="10,0,10,0" Checked="Spellcheck_Checked" Unchecked="Spellcheck_Checked" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center">
<CheckBox.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Enable Spell Check (Uses keyboard language)" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</CheckBox.ToolTip>
<TextBlock Text="Spell Check " Style="{DynamicResource ToolTipTextStyle}" />
</CheckBox>
<CheckBox x:Name="TextWrap" Grid.Column="0" Grid.Row="4" Margin="10,0" Checked="TextWrap_Checked" Unchecked="TextWrap_Checked" VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch" VerticalAlignment="Center" IsChecked="True">
<CheckBox.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Sets the Text Line Wrap Property" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</CheckBox.ToolTip>
<TextBlock Text="Line Wrap" Style="{DynamicResource ToolTipTextStyle}" />
</CheckBox>
<CheckBox x:Name="ToolBarEnabled" Grid.Column="1" Grid.Row="4" Margin="10,0" Checked="ToolBarEnabled_Checked" Unchecked="ToolBarEnabled_Checked" VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch" VerticalAlignment="Center" IsChecked="True">
<CheckBox.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Sets the ToolBars Visibility" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</CheckBox.ToolTip>
<TextBlock Text="Enable ToolBars" Style="{DynamicResource ToolTipTextStyle}" />
</CheckBox>
<Label Grid.Column="0" Grid.Row="5" Style="{DynamicResource LabelStyle}">
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Time in minutes to auto-save" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="Auto Save (0 to disable): " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="5" Value="5" Minimum="0" Maximum="60" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" x:Name="autosavetimersider" ValueChanged="Autosavetimer_ValueChanged" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="5"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=autosavetimersider}"
Maximum="{Binding Maximum, ElementName=autosavetimersider}"
Value="{Binding Value, ElementName=autosavetimersider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<CheckBox x:Name="resizecheck" Grid.Column="0" Grid.Row="6" Margin="10,0" Checked="ResizeCheckBoxChanged" Unchecked="ResizeCheckBoxChanged" VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch" VerticalAlignment="Center">
<CheckBox.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Resize and move the Text" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</CheckBox.ToolTip>
<TextBlock Text="Resize / Move Text" Style="{DynamicResource ToolTipTextStyle}" />
</CheckBox>
<Label Grid.Column="0" Grid.Row="7" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Resize border Width: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="7" x:Name="bordersize" Maximum="20" Minimum="0" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" ValueChanged="Bordersize_ValueChanged" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="7"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=bordersize}"
Maximum="{Binding Maximum, ElementName=bordersize}"
Value="{Binding Value, ElementName=bordersize}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<Label Grid.Column="0" Grid.Row="9" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Left-Top Corner Radius: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="9" Minimum="0" Maximum="{Binding Value, ElementName=CornerMax}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" x:Name="CornerRadius1Slider" ValueChanged="CornerRadius1Slider_ValueChanged" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="9"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=CornerRadius1Slider}"
Maximum="{Binding Maximum, ElementName=CornerRadius1Slider}"
Value="{Binding Value, ElementName=CornerRadius1Slider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<Label Grid.Column="0" Grid.Row="10" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Right-Top Corner Radius: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="10" Minimum="0" Maximum="{Binding Value, ElementName=CornerMax}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" x:Name="CornerRadius2Slider" ValueChanged="CornerRadius1Slider_ValueChanged" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="10"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=CornerRadius2Slider}"
Maximum="{Binding Maximum, ElementName=CornerRadius2Slider}"
Value="{Binding Value, ElementName=CornerRadius2Slider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<Label Grid.Column="0" Grid.Row="11" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Right-Bottom Corner Radius: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="11" Minimum="0" Maximum="{Binding Value, ElementName=CornerMax}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" x:Name="CornerRadius3Slider" ValueChanged="CornerRadius1Slider_ValueChanged" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="11"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=CornerRadius3Slider}"
Maximum="{Binding Maximum, ElementName=CornerRadius3Slider}"
Value="{Binding Value, ElementName=CornerRadius3Slider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<Label Grid.Column="0" Grid.Row="12" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Left-Bottom Corner Radius: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="12" Minimum="0" Maximum="{Binding Value, ElementName=CornerMax}" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" x:Name="CornerRadius4Slider" ValueChanged="CornerRadius1Slider_ValueChanged" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="12"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=CornerRadius4Slider}"
Maximum="{Binding Maximum, ElementName=CornerRadius4Slider}"
Value="{Binding Value, ElementName=CornerRadius4Slider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<CheckBox Grid.Column="0" Grid.Row="13" x:Name="lockSlidersCheckbox" VerticalAlignment="Center" Margin="10,0,10,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch" Checked="LockSlidersCheckbox_Checked" Unchecked="LockSlidersCheckbox_Checked">
<CheckBox.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Locks all corner sliders to same value" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</CheckBox.ToolTip>
<TextBlock Text="Same Radius" Style="{DynamicResource ToolTipTextStyle}" />
</CheckBox>
<Label Grid.Column="1" Grid.Row="13" Style="{DynamicResource LabelStyle}">
<TextBlock Text="Max Corner Radius Value: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="13" x:Name="CornerMax"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
ShowButtonSpinner="False" Minimum="0" Maximum="1000000"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" AutoMoveFocus="True" DisplayDefaultValueOnEmptyText="True" DefaultValue="500" />
</Grid>
</TabItem>
<TabItem Style="{DynamicResource TabItemStyle1}">
<TabItem.Header>
<Label>
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set SkinText background Image" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="Background Image" Style="{DynamicResource ToolTipTextStyle}" Foreground="{DynamicResource ButtonFrontColorBrush}" />
</Label>
</TabItem.Header>
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="4*" />
<ColumnDefinition Width="4*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label Grid.Column="0" Grid.Row="0" Style="{DynamicResource LabelStyle}">
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Restart SkinText to fully apply" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="GIF Rendering uses:" Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Grid Grid.Column="1" Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<RadioButton x:Name="GifMethodRAM" Grid.Column="0" Width="70" Height="23"
Style="{DynamicResource RadioButtonsStyle}">
<RadioButton.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="GIF rendering will use RAM (Recommended for SMALL GIFs)" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</RadioButton.ToolTip>
<TextBlock Text="RAM" />
</RadioButton>
<RadioButton x:Name="GifMethodCPU" Grid.Column="1" Width="70" Height="23" IsChecked="True"
Style="{DynamicResource RadioButtonsStyle}">
<RadioButton.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="GIF rendering will use CPU/HDD (Recommended for BIG GIFs)" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</RadioButton.ToolTip>
<TextBlock Text="CPU" />
</RadioButton>
</Grid>
<Label Grid.Column="0" Grid.Row="1" Style="{DynamicResource LabelStyle}">
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set SkinText background Image" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="Background Image: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Button x:Name="imagedir" Grid.Column="1" Grid.Row="1" Click="Imagedir_Click" Style="{DynamicResource ButtonsStyle}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" VerticalAlignment="Stretch">
<Button.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Select Background Image" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Button.ToolTip>
<TextBlock Text="Change Bg Img" />
</Button>
<Button Grid.Column="2" Grid.Row="1" Style="{DynamicResource ButtonsStyle}" BorderBrush="{DynamicResource ButtonBorderCheckedColorBrush}" BorderThickness="1" Click="ClearImage_Click">
<Button.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Clear Background Image" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Button.ToolTip>
<Canvas Width="22" Height="22" Clip="F1 M 0,0L 22,0L 22,22L 0,22L 0,0">
<Path Width="22" Height="22"
Canvas.Left="0" Canvas.Top="0"
Stretch="Uniform"
Fill="{DynamicResource ButtonFrontColorBrush}"
Data="M9.29,21H12.12L21,12.12V9.29M19,21C19.55,21 20.05,20.78 20.41,20.41C20.78,20.05 21,19.55 21,19V17L17,21M5,3A2,2 0 0,0 3,5V7L7,3M11.88,3L3,11.88V14.71L14.71,3M19.5,3.08L3.08,19.5C3.17,19.85 3.35,20.16 3.59,20.41C3.84,20.65 4.15,20.83 4.5,20.92L20.93,4.5C20.74,3.8 20.2,3.26 19.5,3.08Z" />
</Canvas>
</Button>
<Label Grid.Column="0" Grid.Row="2" Style="{DynamicResource LabelStyle}">
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set background Image Blur ammount" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="BG Image Blur Value: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="2" Minimum="0" Maximum="100" TickFrequency="1" IsSnapToTickEnabled="True" x:Name="imageBlurSlider" SmallChange="1" Margin="10,0,10,0" ValueChanged="ImageBlurSlider_ValueChanged" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="2"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=imageBlurSlider}"
Maximum="{Binding Maximum, ElementName=imageBlurSlider}"
Value="{Binding Value, ElementName=imageBlurSlider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<Label Grid.Column="0" Grid.Row="3" Style="{DynamicResource LabelStyle}">
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set background Image Blur Type" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="BG Image Blur Type: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Grid Grid.Column="1" Grid.Row="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<RadioButton x:Name="ImageBlurBox" Grid.Column="0" Width="70" Height="23" Checked="ImageBlurBox_Checked"
Style="{DynamicResource RadioButtonsStyle}">
<RadioButton.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Box Blur Method" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</RadioButton.ToolTip>
<TextBlock Text="Box" />
</RadioButton>
<RadioButton x:Name="ImageBlurGauss" Grid.Column="1" Width="70" Height="23" IsChecked="True" Checked="ImageBlurBox_Checked"
Style="{DynamicResource RadioButtonsStyle}">
<RadioButton.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Gaussian Blur Method" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</RadioButton.ToolTip>
<TextBlock Text="Gauss" />
</RadioButton>
</Grid>
<Label Grid.Column="0" Grid.Row="4" Style="{DynamicResource LabelStyle}">
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set background Image Transparency" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="Image Opacity: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="4" Minimum="0" Maximum="100" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" x:Name="imageopacityslider" ValueChanged="Imageopacityslider_ValueChanged" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="4"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=imageopacityslider}"
Maximum="{Binding Maximum, ElementName=imageopacityslider}"
Value="{Binding Value, ElementName=imageopacityslider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
</Grid>
</TabItem>
<TabItem Style="{DynamicResource TabItemStyle1}">
<TabItem.Header>
<Label>
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set SkinText Window Configuration" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="Window" Style="{DynamicResource ToolTipTextStyle}" Foreground="{DynamicResource ButtonFrontColorBrush}"/>
</Label>
</TabItem.Header>
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="4*" />
<ColumnDefinition Width="4*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label Grid.Column="0" Grid.Row="0" Style="{DynamicResource LabelStyle}">
<Label.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Set SkinText Transparency" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</Label.ToolTip>
<TextBlock Text="Window Opacity: " Style="{DynamicResource ToolTipTextStyle}" />
</Label>
<Slider Grid.Column="1" Grid.Row="0" Minimum="0" Maximum="100" TickFrequency="1" IsSnapToTickEnabled="True" SmallChange="1" Margin="10,0,10,0" AutoToolTipPlacement="BottomRight" VerticalAlignment="Center" x:Name="windowopacityslider" ValueChanged="WindowOpacityslider_ValueChanged" IsMoveToPointEnabled="True" />
<xctk:DecimalUpDown Grid.Column="2" Grid.Row="0"
FormatString="G" ClipValueToMinMax="True" TextAlignment="Center"
HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="5,5,5,5"
Minimum="{Binding Minimum, ElementName=windowopacityslider}"
Maximum="{Binding Maximum, ElementName=windowopacityslider}"
Value="{Binding Value, ElementName=windowopacityslider}"
ScrollViewer.VerticalScrollBarVisibility="Disabled" UpdateValueOnEnterKey="False" ShowButtonSpinner="False" AutoMoveFocus="True" />
<CheckBox x:Name="alwaysontop" Grid.Column="0" Grid.Row="1" Margin="10,0" Checked="Alwaysontop_Unchecked" Unchecked="Alwaysontop_Unchecked" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center" VerticalAlignment="Center">
<CheckBox.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Always show SkinText" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</CheckBox.ToolTip>
<TextBlock Text="Always on Top" Style="{DynamicResource ToolTipTextStyle}" />
</CheckBox>
<CheckBox x:Name="toolsalwaysontop" Grid.Column="1" Grid.Row="1" Margin="10,0" IsChecked="True" Checked="Toolsalwaysontop_Checked" Unchecked="Toolsalwaysontop_Checked" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center" VerticalAlignment="Center">
<CheckBox.ToolTip>
<ToolTip Style="{DynamicResource ToolTipStyle}">
<Border Style="{DynamicResource ToolTipBorderStyle}">
<TextBlock Text="Always show Tools" Style="{DynamicResource ToolTipTextStyle}" />
</Border>
</ToolTip>
</CheckBox.ToolTip>
<TextBlock Text="Tools Always on Top" Style="{DynamicResource ToolTipTextStyle}" />