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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
|
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension"
xmlns:html="http://www.w3.org/1999/xhtml"
targetNamespace="http://wixtoolset.org/schemas/v4/thmutil"
xmlns="http://wixtoolset.org/schemas/v4/thmutil">
<xs:annotation>
<xs:documentation>
Schema for describing Theme files processed by thmutil.
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://www.w3.org/1999/xhtml" />
<xs:element name="Theme">
<xs:annotation>
<xs:documentation>
This is the top-level container element for every thmutil Theme file.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="Font" maxOccurs="unbounded" />
<xs:element ref="Image" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ImageList" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="Window" minOccurs="1" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="ImageFile" type="xs:string">
<xs:annotation>
<xs:documentation>
Relative path to an image file that can serve as a single source for images in the rest of the theme.
This image is referenced by controls using the SourceX and SourceY attributes.
Mutually exclusive with the ImageResource attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageResource" type="xs:string">
<xs:annotation>
<xs:documentation>
Identifier that references an image resource in the module for the window.
This image is referenced by controls using the SourceX and SourceY attributes.
Mutually exclusive with the ImageFile attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Font">
<xs:annotation>
<xs:documentation>Defines a font including the size and color.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation>Name of the font face (required).</xs:documentation>
</xs:annotation>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Identifier for the font.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Height" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>Font size. Use negative numbers to specify the font in pixels.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Weight" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>Font weight.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Foreground" type="FontColorType">
<xs:annotation>
<xs:documentation>
A system color id or a hexadecimal value representing BGR foreground color of the font.
"ffffff" is white, "ff0000" is pure blue, "00ff00" is pure green, "0000ff" is pure red, and "000000" is black.
If this attribute is absent the foreground will be transparent.
Supported system color ids are: btnface, btntext, graytext, highlight, highlighttext, hotlight, window, and windowtext.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Background" type="FontColorType">
<xs:annotation>
<xs:documentation>
A system color id or a hexadecimal value representing BGR background color of the font.
"ffffff" is white, "ff0000" is pure blue, "00ff00" is pure green, "0000ff" is pure red, and "000000" is black.
If this attribute is absent the background will be transparent.
Supported system color ids are: btnface, btntext, graytext, highlight, highlighttext, hotlight, window, and windowtext.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Underline" type="YesNoType">
<xs:annotation>
<xs:documentation>Specifies whether the font is underlined.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Image">
<xs:annotation>
<xs:documentation>
Defines an image which can be shared between multiple controls.
If alternates are provided, the dimensions of the destination rectangle are compared to all of the available sources:
1. If there is an exact match for width and height then that source will be used (no scaling required).
2. If there is not an exact match then the smallest source whose width and height are larger or equal to the destination will be used and downscaled.
3. If there is still no match then the largest source will be used and upscaled.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="AlternateResolution" />
</xs:choice>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Identifier for the Image.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageFile" type="xs:string">
<xs:annotation>
<xs:documentation>
Relative path to an image file for the control.
Mutually exclusive with ImageResource attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageResource" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references an image resource with type RT_RCDATA in the module for the control.
Mutually exclusive with ImageFile attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ImageList">
<xs:annotation>
<xs:documentation>List of images which can be shared between multiple controls.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="ImageListItem" />
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Name of the ImageList, to be referenced by other controls.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Page">
<xs:annotation>
<xs:documentation>Named set of controls that can be shown and hidden collectively.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:group ref="ControlElements" maxOccurs="unbounded"/>
<xs:attribute name="Name" type="xs:string">
<xs:annotation>
<xs:documentation>
Optional name for the page.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Window">
<xs:annotation>
<xs:documentation>Defines the overall look of the main window.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Page" />
<xs:group ref="ControlElements" minOccurs="0" maxOccurs="unbounded" />
</xs:choice>
<xs:attribute name="AutoResize" type="YesNoType">
<xs:annotation>
<xs:documentation>Specifies whether the ThmUtil default window proc should process WM_SIZE and WM_SIZING events.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Caption" type="xs:string">
<xs:annotation>
<xs:documentation>
Caption for the window.
This is required if not using the StringId attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FontId" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the default font for the window.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Height" type="xs:positiveInteger" use="required">
<xs:annotation>
<xs:documentation>Height of the window's client area.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HexStyle" type="xs:hexBinary">
<xs:annotation>
<xs:documentation>
Hexadecimal window style. If this is not specified the default value is: WS_OVERLAPPED | WS_VISIBLE | WS_MINIMIZEBOX | WS_SYSMENU | WS_CAPTION.
If SourceX and SourceY are specified, then WS_OVERLAPPED is replaced with WS_POPUP.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IconFile" type="xs:string">
<xs:annotation>
<xs:documentation>Relative path to an icon file for the window. Mutually exclusive with IconResource attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IconResource" type="xs:string">
<xs:annotation>
<xs:documentation>
Identifier that references an icon resource in the module for the icon for the window.
Mutually exclusive with IconFile attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MinimumHeight" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>Minimum height of the window. Can only be specified if AutoResize is enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MinimumWidth" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>Minimum width of the window. Can only be specified if AutoResize is enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SourceX" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
X offset of the window background in the Theme/@ImageFile or Theme/@ImageResource.
Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SourceY" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Y offset of the window background in the Theme/@ImageFile or Theme/@ImageResource.
Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the window caption.
Mutually exclusive with the Caption attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Width" type="xs:positiveInteger" use="required">
<xs:annotation>
<xs:documentation>Width of the window's client area.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Billboard">
<xs:annotation>
<xs:documentation>Defines a control that rotates through a set of panels on a specified interval.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="Panel" />
</xs:sequence>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="Interval" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>
Specifies the time to wait before showing the next panel, in milliseconds.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Loop" type="YesNoType">
<xs:annotation>
<xs:documentation>Specifies whether the billboard should loop through the panels infinitely.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="AlternateResolution">
<xs:annotation>
<xs:documentation>
Defines an alternate resolution to avoid scaling in different DPIs.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ImageFile" type="xs:string">
<xs:annotation>
<xs:documentation>
Relative path to an image file for the control.
Mutually exclusive with ImageResource attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageResource" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references an image resource with type RT_RCDATA in the module for the control.
Mutually exclusive with ImageFile attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Button">
<xs:annotation>
<xs:documentation>
Defines a button.
</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>
Text to display in the button.
Mutually exclusive with the StringId attribute and child Text elements.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
If multiple Action elements are given, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and could be changed at any time).
If none of the conditions of the Action elements are true, then it uses the Action element without the Condition attribute.
</xs:documentation>
</xs:annotation>
<xs:element ref="ButtonImage" maxOccurs="1" />
<xs:element ref="ButtonFocusImage" maxOccurs="1" />
<xs:element ref="ButtonHoverImage" maxOccurs="1" />
<xs:element ref="ButtonSelectedImage" maxOccurs="1" />
<xs:element ref="BrowseDirectoryAction" />
<xs:element ref="ChangePageAction" />
<xs:element ref="CloseWindowAction" />
<xs:element ref="Text" />
<xs:element ref="Tooltip" maxOccurs="1" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attributeGroup ref="OwnerDrawImageAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font for the control. Only valid when using graphic buttons.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HoverFontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font when the control is hovered over. Only valid when using graphic buttons.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SelectedFontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font when the control is selected. Only valid when using graphic buttons.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the text for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ButtonImage">
<xs:annotation>
<xs:documentation>
Defines a button image.
ButtonHoverImage and ButtonSelectedImage are required with ButtonImage.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="OwnerDrawImageAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="ButtonFocusImage">
<xs:annotation>
<xs:documentation>
Defines a button image that is used when the control has focus.
ButtonImage, ButtonHoverImage, and ButtonSelectedImage are required with ButtonFocusImage.
If not specified, then the default focus rectangle is drawn on top of ButtonImage.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="OwnerDrawImageAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="ButtonHoverImage">
<xs:annotation>
<xs:documentation>
Defines a button image that is used when the control is hovered over.
ButtonImage and ButtonSelectedImage are required with ButtonHoverImage.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="OwnerDrawImageAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="ButtonSelectedImage">
<xs:annotation>
<xs:documentation>
Defines a button image that is used when the control is selected.
ButtonImage and ButtonHoverImage are required with ButtonSelectedImage.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="OwnerDrawImageAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="BrowseDirectoryAction">
<xs:annotation>
<xs:documentation>
When the button is pressed, a directory browser dialog is shown.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Condition" type="xs:string">
<xs:annotation>
<xs:documentation>
The condition that determines if the parent control will execute this action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VariableName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The name of the variable to update when the user selects a directory from the dialog.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ChangePageAction">
<xs:annotation>
<xs:documentation>
When the button is pressed, the specified page is shown.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Cancel" type="YesNoType">
<xs:annotation>
<xs:documentation>
When set to 'yes', none of the variable changes made on the current page are saved.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Condition" type="xs:string">
<xs:annotation>
<xs:documentation>
The condition that determines if the parent control will execute this action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Page" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The Name of the Page to show.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="CloseWindowAction">
<xs:annotation>
<xs:documentation>
When the button is pressed, the WM_CLOSE message is sent to the window.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Condition" type="xs:string">
<xs:annotation>
<xs:documentation>
The condition that determines if the parent control will execute this action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Checkbox">
<xs:annotation>
<xs:documentation>Defines a checkbox.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>
Text to display beside the checkbox.
Mutually exclusive with the StringId attribute and child Text elements.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Text" />
<xs:element ref="Tooltip" maxOccurs="1" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the text for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Combobox">
<xs:annotation>
<xs:documentation>Defines a combobox.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="CommandLink">
<xs:annotation>
<xs:documentation>Defines a button.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>
Text to display in the button.
Mutually exclusive with the StringId attribute and child Text elements.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
If multiple Action elements are given, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and could be changed at any time).
If none of the conditions of the Action elements are true, then it uses the Action element without the Condition attribute.
</xs:documentation>
</xs:annotation>
<xs:element ref="BrowseDirectoryAction" />
<xs:element ref="ChangePageAction" />
<xs:element ref="CloseWindowAction" />
<xs:element ref="Note" />
<xs:element ref="Text" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font for the control. Only valid when using graphic buttons.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IconFile" type="xs:string">
<xs:annotation>
<xs:documentation>
Relative path to an icon file to define a command link glyph.
Mutually exclusive with IconResource and ImageFile and ImageResource attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IconResource" type="xs:string">
<xs:annotation>
<xs:documentation>
Identifier that references an icon resource in the module to define a command link glyph.
Mutually exclusive with IconFile and ImageFile and ImageResource attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageFile" type="xs:string">
<xs:annotation>
<xs:documentation>
Relative path to an image file to define a command link glyph.
Mutually exclusive with IconFile and IconResource and ImageResource attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageResource" type="xs:string">
<xs:annotation>
<xs:documentation>
Identifier that references an image resource in the module to define a command link glyph.
Mutually exclusive with IconFile and IconResource and ImageFile attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the text for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Editbox">
<xs:annotation>
<xs:documentation>Defines an edit box.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation>
Initial text for the control.
Mutually exclusive with the StringId attribute and child Text elements.
</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FileSystemAutoComplete" type="YesNoType">
<xs:annotation>
<xs:documentation>Specifies whether the edit box should auto-complete with file system paths.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the initial text for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Hyperlink">
<xs:annotation>
<xs:documentation>Defines a hyperlink.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>
Text to display as the link.
Mutually exclusive with the StringId attribute and child Text elements.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Text" />
<xs:element ref="Tooltip" maxOccurs="1" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the unselected font.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HoverFontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font when the control is hovered over.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SelectedFontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font when the control is selected.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the text for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Hypertext">
<xs:annotation>
<xs:documentation>Defines a text block with support for HTML `<a>` tags.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>
Text to display as the link.
Use HTML <a href="URL"> to create a link.
Mutually exclusive with the StringId attribute and child Text elements.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Text" />
<xs:element ref="Tooltip" maxOccurs="1" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the text for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ImageListItem">
<xs:annotation>
<xs:documentation>Defines an image for an ImageList.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ImageFile" type="xs:string">
<xs:annotation>
<xs:documentation>Relative path to an image file. Mutually exclusive with ImageResource.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageResource" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>Identifier that references an image resource in the module. Mutually exclusive with ImageFile.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ImageControl">
<xs:annotation>
<xs:documentation>Defines an image control.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attributeGroup ref="OwnerDrawImageAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="Label">
<xs:annotation>
<xs:documentation>Defines a label.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>
Text for the label to display.
Mutually exclusive with the StringId attribute and child Text elements.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Text" />
<xs:element ref="Tooltip" maxOccurs="1" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="Center" type="YesNoType" use="optional">
<xs:annotation>
<xs:documentation>Specifies whether the text should be centered horizontally in the width of the control. Default is "no".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DisablePrefix" type="YesNoType" use="optional">
<xs:annotation>
<xs:documentation>By default ampersands (&) in the text will underline the next character and treat it as an accelerator key. Set this attribute to "yes" to disable that behavior. Default is "no".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the text for the label.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ListView">
<xs:annotation>
<xs:documentation>Defines a listview.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="Column" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the default font for the ListView.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HexExtendedStyle" type="xs:hexBinary">
<xs:annotation>
<xs:documentation>Hexadecimal extended window style.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageList" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the ImageList to assign to this listview with type LVSIL_NORMAL.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageListSmall" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the ImageList to assign to this listview with type LVSIL_SMALL.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageListState" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the ImageList to assign to this listview with type LVSIL_STATE.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageListGroupHeader" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the ImageList to assign to this listview with type LVSIL_GROUPHEADER.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Note">
<xs:annotation>
<xs:documentation>
Defines note text for a command link control based on an optional condition.
If multiple Note elements are given for one control, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and may be changed at any time).
If none of the conditions of a control's Note elements are true, then it uses the text of the Note element without the Condition attribute.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation>
Note text for the parent command link control.
</xs:documentation>
</xs:annotation>
<xs:attribute name="Condition" type="xs:string">
<xs:annotation>
<xs:documentation>
The condition that determines when the parent control will use this note text.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Panel">
<xs:annotation>
<xs:documentation>Defines a collection of controls.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:group ref="PanelControlElements" maxOccurs="unbounded"/>
<xs:attributeGroup ref="CommonControlAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="Progressbar">
<xs:annotation>
<xs:documentation>
Defines a progress bar.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ProgressbarImage" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="ProgressbarImage">
<xs:annotation>
<xs:documentation>
Defines a progress bar image.
The image must be 4 pixels wide: left pixel is the left side of progress bar, left middle pixel is progress used, right middle pixel is progress unused, right pixel is right side of progress bar.
If multiple ProgressbarImages are given, each is assigned an index in document order and can be selected programmatically with ThemeSetProgressControlColor.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="OwnerDrawImageAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="RadioButton">
<xs:annotation>
<xs:documentation>Defines an individual radio button within a set of radio buttons.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>
Text to display beside the radio button.
Mutually exclusive with the StringId attribute and child Text elements.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Text" />
<xs:element ref="Tooltip" maxOccurs="1" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the text for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Value" type="xs:string">
<xs:annotation>
<xs:documentation>Optional value used when setting the variable associated with the set of radio buttons.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="RadioButtons">
<xs:annotation>
<xs:documentation>Defines a set of radio buttons.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="RadioButton" />
</xs:choice>
<xs:attribute name="Name" type="xs:string">
<xs:annotation>
<xs:documentation>Optional variable name for the set of radio buttons.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Richedit">
<xs:annotation>
<xs:documentation>Defines a rich edit control.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:annotation>
<xs:documentation>
Initial text for the control.
Mutually exclusive with the StringId attribute.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Text" />
<xs:element ref="Tooltip" maxOccurs="1" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>
Identifier to the Font element that serves as the font for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the initial text for the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Static">
<xs:annotation>
<xs:documentation>Defines a straight line.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="CommonControlAttributes" />
</xs:complexType>
</xs:element>
<xs:element name="Tab">
<xs:annotation>
<xs:documentation>Defines an individual tab within a set of tabs.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation>
Caption of the tab.
Mutually exclusive with the StringId attribute.
</xs:documentation>
</xs:annotation>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the caption of the tab.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Tabs">
<xs:annotation>
<xs:documentation>Defines a set of tabs.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="Tab" />
</xs:choice>
<xs:attributeGroup ref="CommonControlAttributes" />
<xs:attribute name="FontId" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Text">
<xs:annotation>
<xs:documentation>
Defines text for the parent control based on an optional condition.
If multiple Text elements are given for one control, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and may be changed at any time).
If none of the conditions of a control's Text elements are true, then it uses the text of the Text element without the Condition attribute.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation>
Text for the parent control.
</xs:documentation>
</xs:annotation>
<xs:attribute name="Condition" type="xs:string">
<xs:annotation>
<xs:documentation>
The condition that determines when the parent control will use this text.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Tooltip">
<xs:annotation>
<xs:documentation>
Defines text for the parent control's tooltip.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation>
Text for the parent control's tooltip.
</xs:documentation>
</xs:annotation>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="TreeView">
<xs:annotation>
<xs:documentation>Defines a treeview.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="CommonControlAttributes"/>
<xs:attribute name="AlwaysShowSelect">
<xs:annotation>
<xs:documentation>Specifies whether the row always appears selected even when the treeview has lost focus.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="EnableDragDrop">
<xs:annotation>
<xs:documentation>Specifies whether drag and drop is enabled for the treeview.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FullRowSelect">
<xs:annotation>
<xs:documentation>Specifies whether an entire row is selected for the treeview.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HasButtons">
<xs:annotation>
<xs:documentation>Specifies whether the treeview will show buttons.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HasLines">
<xs:annotation>
<xs:documentation>Specifies whether lines appear for all treeview items.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LinesAtRoot">
<xs:annotation>
<xs:documentation>Specifies whether the root nodes have lines beside them.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Column">
<xs:annotation>
<xs:documentation>A column of a list.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation>
Text for the column header.
Mutually exclusive with the StringId attribute.
</xs:documentation>
</xs:annotation>
<xs:attribute name="Width" type="xs:int">
<xs:annotation>
<xs:documentation>Width of the column.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Expands" type="YesNoType">
<xs:annotation>
<xs:documentation>
Whether or not this column can grow to fill available width of the listview.
More than one column can be marked with yes - all expandable columns will share available extra space.
This is especially useful if the Window/@AutoResize is yes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StringId" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references a string resource in the module to define the text for the column header.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:group name="ControlElements">
<xs:choice>
<xs:element ref="Billboard" />
<xs:element ref="Button" />
<xs:element ref="Checkbox" />
<xs:element ref="Combobox" />
<xs:element ref="CommandLink" />
<xs:element ref="Editbox" />
<xs:element ref="Hyperlink" />
<xs:element ref="Hypertext" />
<xs:element ref="ImageControl" />
<xs:element ref="Label" />
<xs:element ref="ListView" />
<xs:element ref="Panel" />
<xs:element ref="Progressbar" />
<xs:element ref="RadioButtons" />
<xs:element ref="Richedit" />
<xs:element ref="Static" />
<xs:element ref="Tabs" />
<xs:element ref="TreeView" />
</xs:choice>
</xs:group>
<xs:group name="PanelControlElements">
<xs:choice>
<xs:element ref="Hyperlink" />
<xs:element ref="Hypertext" />
<xs:element ref="ImageControl" />
<xs:element ref="Label" />
<xs:element ref="Progressbar" />
<xs:element ref="Static" />
</xs:choice>
</xs:group>
<xs:attributeGroup name="CommonControlAttributes">
<xs:attribute name="Name" type="xs:string">
<xs:annotation>
<xs:documentation>
Optional name for the control.
If the ThmUtil variable callback system has been configured, such as by
WixStandardBootstrapperApplication, ThmUtil uses the control name to
find a matching variable name. ThmUtil retrieves the variable's value
to set the initial value of the control and sets the variable's value
when the user interacts with the control.
For example, a checkbox control is checked when the matching variable
has a nonzero value and unchecked for a value of `0`. When the user
checks a checkbox control, ThmUtil sets the variable value to a nonzero
value (currently `1`) and to `0` if the checkbox is unchecked.
An edit box control gets its initial value from a matching variable
value. The control value is saved to the variable when navigating away
from the page or when choosing a folder via an associated Browse button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="EnableCondition" type="xs:string">
<xs:annotation>
<xs:documentation>A condition that determines if the control is enabled. If this condition is true or omitted, then the control will be enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Height" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>Height of the control. Non-positive values extend the control to the bottom of the window minus the value. A zero value extends the control to the bottom of the window.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HexStyle" type="xs:hexBinary">
<xs:annotation>
<xs:documentation>Hexadecimal window style for the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HideWhenDisabled" type="YesNoType">
<xs:annotation>
<xs:documentation>Specifies whether the control should be hidden when disabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="TabStop" type="YesNoType">
<xs:annotation>
<xs:documentation>Specifies whether the control is part of the tab sequence of controls.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Visible" type="YesNoType">
<xs:annotation>
<xs:documentation>Specifies whether the control is initially visible.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VisibleCondition" type="xs:string">
<xs:annotation>
<xs:documentation>
A condition that determines if the control is visible. If this condition is true or omitted, then the control will be visible.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Width" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>Width of the control. Non-positive values extend the control to the right of the window minus the value. A zero value extends the control to the right of the window.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="X" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>X coordinate for the control from the left of the window. Negative values are coordinates from the right of the window minus the width of the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Y" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>Y coordinate for the control from the top of the window. Negative values are coordinates from the bottom of the window minus the height of the control.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="OwnerDrawImageAttributes">
<xs:attribute name="ImageId" type="xs:string">
<xs:annotation>
<xs:documentation>
Identifier to the Image element that serves as the image for the control.
Mutually exclusive with ImageFile and ImageResource and SourceX and SourceY attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageFile" type="xs:string">
<xs:annotation>
<xs:documentation>
Relative path to an image file for the control.
Mutually exclusive with ImageId and ImageResource and SourceX and SourceY attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ImageResource" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Identifier that references an image resource with type RT_RCDATA in the module for the control.
Mutually exclusive with ImageId and ImageFile and SourceX and SourceY attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SourceX" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
X offset of the Theme/@ImageFile or Theme/@ImageResource.
Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
Mutually exclusive with ImageId and ImageFile and ImageResource attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SourceY" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
Y offset of the Theme/@ImageFile or Theme/@ImageResource.
Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
Mutually exclusive with ImageId and ImageFile and ImageResource attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:simpleType name="YesNoType">
<xs:annotation>
<xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SystemColorType">
<xs:annotation>
<xs:documentation>
Indicates a system color for a font.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="btnface" />
<xs:enumeration value="btntext" />
<xs:enumeration value="graytext" />
<xs:enumeration value="highlight" />
<xs:enumeration value="highlighttext" />
<xs:enumeration value="hotlight" />
<xs:enumeration value="window" />
<xs:enumeration value="windowtext" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FontColorType">
<xs:annotation>
<xs:documentation>
Indicates the foreground or background color of a font.
</xs:documentation>
</xs:annotation>
<xs:union memberTypes="SystemColorType xs:string"/>
</xs:simpleType>
</xs:schema>
|