aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/thmutil.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsd/thmutil.xsd')
-rw-r--r--src/xsd/thmutil.xsd1365
1 files changed, 1365 insertions, 0 deletions
diff --git a/src/xsd/thmutil.xsd b/src/xsd/thmutil.xsd
new file mode 100644
index 00000000..417bac87
--- /dev/null
+++ b/src/xsd/thmutil.xsd
@@ -0,0 +1,1365 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- 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. -->
3
4
5<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
6 xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension"
7 xmlns:html="http://www.w3.org/1999/xhtml"
8 targetNamespace="http://wixtoolset.org/schemas/v4/thmutil"
9 xmlns="http://wixtoolset.org/schemas/v4/thmutil">
10 <xs:annotation>
11 <xs:documentation>
12 Schema for describing Theme files processed by thmutil.
13 </xs:documentation>
14 </xs:annotation>
15
16 <xs:import namespace="http://www.w3.org/1999/xhtml" />
17
18 <xs:element name="Theme">
19 <xs:annotation>
20 <xs:documentation>
21 This is the top-level container element for every thmutil Theme file.
22 </xs:documentation>
23 </xs:annotation>
24 <xs:complexType>
25 <xs:sequence>
26 <xs:element ref="Font" maxOccurs="unbounded" />
27 <xs:element ref="Image" minOccurs="0" maxOccurs="unbounded" />
28 <xs:element ref="ImageList" minOccurs="0" maxOccurs="unbounded" />
29 <xs:element ref="Window" minOccurs="1" maxOccurs="1" />
30 </xs:sequence>
31 <xs:attribute name="ImageFile" type="xs:string">
32 <xs:annotation>
33 <xs:documentation>
34 Relative path to an image file that can serve as a single source for images in the rest of the theme.
35 This image is referenced by controls using the SourceX and SourceY attributes.
36 Mutually exclusive with the ImageResource attribute.
37 </xs:documentation>
38 </xs:annotation>
39 </xs:attribute>
40 <xs:attribute name="ImageResource" type="xs:string">
41 <xs:annotation>
42 <xs:documentation>
43 Identifier that references an image resource in the module for the window.
44 This image is referenced by controls using the SourceX and SourceY attributes.
45 Mutually exclusive with the ImageFile attribute.
46 </xs:documentation>
47 </xs:annotation>
48 </xs:attribute>
49 </xs:complexType>
50 </xs:element>
51
52 <xs:element name="Font">
53 <xs:annotation>
54 <xs:documentation>Defines a font including the size and color.</xs:documentation>
55 </xs:annotation>
56 <xs:complexType>
57 <xs:simpleContent>
58 <xs:extension base="xs:string">
59 <xs:annotation>
60 <xs:documentation>Name of the font face (required).</xs:documentation>
61 </xs:annotation>
62 <xs:attribute name="Id" type="xs:string" use="required">
63 <xs:annotation>
64 <xs:documentation>Identifier for the font.</xs:documentation>
65 </xs:annotation>
66 </xs:attribute>
67 <xs:attribute name="Height" type="xs:int" use="required">
68 <xs:annotation>
69 <xs:documentation>Font size. Use negative numbers to specify the font in pixels.</xs:documentation>
70 </xs:annotation>
71 </xs:attribute>
72 <xs:attribute name="Weight" type="xs:nonNegativeInteger">
73 <xs:annotation>
74 <xs:documentation>Font weight.</xs:documentation>
75 </xs:annotation>
76 </xs:attribute>
77 <xs:attribute name="Foreground" type="FontColorType">
78 <xs:annotation>
79 <xs:documentation>
80 A system color id or a hexadecimal value representing BGR foreground color of the font.
81 "ffffff" is white, "ff0000" is pure blue, "00ff00" is pure green, "0000ff" is pure red, and "000000" is black.
82 If this attribute is absent the foreground will be transparent.
83 Supported system color ids are: btnface, btntext, graytext, highlight, highlighttext, hotlight, window, and windowtext.
84 </xs:documentation>
85 </xs:annotation>
86 </xs:attribute>
87 <xs:attribute name="Background" type="FontColorType">
88 <xs:annotation>
89 <xs:documentation>
90 A system color id or a hexadecimal value representing BGR background color of the font.
91 "ffffff" is white, "ff0000" is pure blue, "00ff00" is pure green, "0000ff" is pure red, and "000000" is black.
92 If this attribute is absent the background will be transparent.
93 Supported system color ids are: btnface, btntext, graytext, highlight, highlighttext, hotlight, window, and windowtext.
94 </xs:documentation>
95 </xs:annotation>
96 </xs:attribute>
97 <xs:attribute name="Underline" type="YesNoType">
98 <xs:annotation>
99 <xs:documentation>Specifies whether the font is underlined.</xs:documentation>
100 </xs:annotation>
101 </xs:attribute>
102 </xs:extension>
103 </xs:simpleContent>
104 </xs:complexType>
105 </xs:element>
106
107 <xs:element name="Image">
108 <xs:annotation>
109 <xs:documentation>
110 Defines an image which can be shared between multiple controls.
111 If alternates are provided, the dimensions of the destination rectangle are compared to all of the available sources:
112 1. If there is an exact match for width and height then that source will be used (no scaling required).
113 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.
114 3. If there is still no match then the largest source will be used and upscaled.
115 </xs:documentation>
116 </xs:annotation>
117 <xs:complexType>
118 <xs:choice minOccurs="0" maxOccurs="unbounded">
119 <xs:element ref="AlternateResolution" />
120 </xs:choice>
121 <xs:attribute name="Id" type="xs:string" use="required">
122 <xs:annotation>
123 <xs:documentation>Identifier for the Image.</xs:documentation>
124 </xs:annotation>
125 </xs:attribute>
126 <xs:attribute name="ImageFile" type="xs:string">
127 <xs:annotation>
128 <xs:documentation>
129 Relative path to an image file for the control.
130 Mutually exclusive with ImageResource attribute.
131 </xs:documentation>
132 </xs:annotation>
133 </xs:attribute>
134 <xs:attribute name="ImageResource" type="xs:nonNegativeInteger">
135 <xs:annotation>
136 <xs:documentation>
137 Identifier that references an image resource with type RT_RCDATA in the module for the control.
138 Mutually exclusive with ImageFile attribute.
139 </xs:documentation>
140 </xs:annotation>
141 </xs:attribute>
142 </xs:complexType>
143 </xs:element>
144
145 <xs:element name="ImageList">
146 <xs:annotation>
147 <xs:documentation>List of images which can be shared between multiple controls.</xs:documentation>
148 </xs:annotation>
149 <xs:complexType>
150 <xs:choice maxOccurs="unbounded">
151 <xs:element ref="ImageListItem" />
152 </xs:choice>
153 <xs:attribute name="Name" type="xs:string" use="required">
154 <xs:annotation>
155 <xs:documentation>
156 Name of the ImageList, to be referenced by other controls.
157 </xs:documentation>
158 </xs:annotation>
159 </xs:attribute>
160 </xs:complexType>
161 </xs:element>
162
163 <xs:element name="Page">
164 <xs:annotation>
165 <xs:documentation>Named set of controls that can be shown and hidden collectively.</xs:documentation>
166 </xs:annotation>
167 <xs:complexType>
168 <xs:group ref="ControlElements" maxOccurs="unbounded"/>
169 <xs:attribute name="Name" type="xs:string">
170 <xs:annotation>
171 <xs:documentation>
172 Optional name for the page.
173 </xs:documentation>
174 </xs:annotation>
175 </xs:attribute>
176 </xs:complexType>
177 </xs:element>
178
179 <xs:element name="Window">
180 <xs:annotation>
181 <xs:documentation>Defines the overall look of the main window.</xs:documentation>
182 </xs:annotation>
183 <xs:complexType>
184 <xs:choice minOccurs="0" maxOccurs="unbounded">
185 <xs:element ref="Page" />
186 <xs:group ref="ControlElements" minOccurs="0" maxOccurs="unbounded" />
187 </xs:choice>
188 <xs:attribute name="AutoResize" type="YesNoType">
189 <xs:annotation>
190 <xs:documentation>Specifies whether the ThmUtil default window proc should process WM_SIZE and WM_SIZING events.</xs:documentation>
191 </xs:annotation>
192 </xs:attribute>
193 <xs:attribute name="Caption" type="xs:string">
194 <xs:annotation>
195 <xs:documentation>
196 Caption for the window.
197 This is required if not using the StringId attribute.
198 </xs:documentation>
199 </xs:annotation>
200 </xs:attribute>
201 <xs:attribute name="FontId" type="xs:string" use="required">
202 <xs:annotation>
203 <xs:documentation>Identifier to the Font element that serves as the default font for the window.</xs:documentation>
204 </xs:annotation>
205 </xs:attribute>
206 <xs:attribute name="Height" type="xs:positiveInteger" use="required">
207 <xs:annotation>
208 <xs:documentation>Height of the window's client area.</xs:documentation>
209 </xs:annotation>
210 </xs:attribute>
211 <xs:attribute name="HexStyle" type="xs:hexBinary">
212 <xs:annotation>
213 <xs:documentation>
214 Hexadecimal window style. If this is not specified the default value is: WS_OVERLAPPED | WS_VISIBLE | WS_MINIMIZEBOX | WS_SYSMENU | WS_CAPTION.
215 If SourceX and SourceY are specified, then WS_OVERLAPPED is replaced with WS_POPUP.
216 </xs:documentation>
217 </xs:annotation>
218 </xs:attribute>
219 <xs:attribute name="IconFile" type="xs:string">
220 <xs:annotation>
221 <xs:documentation>Relative path to an icon file for the window. Mutually exclusive with IconResource attribute.</xs:documentation>
222 </xs:annotation>
223 </xs:attribute>
224 <xs:attribute name="IconResource" type="xs:string">
225 <xs:annotation>
226 <xs:documentation>
227 Identifier that references an icon resource in the module for the icon for the window.
228 Mutually exclusive with IconFile attribute.
229 </xs:documentation>
230 </xs:annotation>
231 </xs:attribute>
232 <xs:attribute name="MinimumHeight" type="xs:positiveInteger">
233 <xs:annotation>
234 <xs:documentation>Minimum height of the window. Can only be specified if AutoResize is enabled.</xs:documentation>
235 </xs:annotation>
236 </xs:attribute>
237 <xs:attribute name="MinimumWidth" type="xs:positiveInteger">
238 <xs:annotation>
239 <xs:documentation>Minimum width of the window. Can only be specified if AutoResize is enabled.</xs:documentation>
240 </xs:annotation>
241 </xs:attribute>
242 <xs:attribute name="SourceX" type="xs:nonNegativeInteger">
243 <xs:annotation>
244 <xs:documentation>
245 X offset of the window background in the Theme/@ImageFile or Theme/@ImageResource.
246 Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
247 </xs:documentation>
248 </xs:annotation>
249 </xs:attribute>
250 <xs:attribute name="SourceY" type="xs:nonNegativeInteger">
251 <xs:annotation>
252 <xs:documentation>
253 Y offset of the window background in the Theme/@ImageFile or Theme/@ImageResource.
254 Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
255 </xs:documentation>
256 </xs:annotation>
257 </xs:attribute>
258 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
259 <xs:annotation>
260 <xs:documentation>
261 Identifier that references a string resource in the module to define the window caption.
262 Mutually exclusive with the Caption attribute.
263 </xs:documentation>
264 </xs:annotation>
265 </xs:attribute>
266 <xs:attribute name="Width" type="xs:positiveInteger" use="required">
267 <xs:annotation>
268 <xs:documentation>Width of the window's client area.</xs:documentation>
269 </xs:annotation>
270 </xs:attribute>
271 </xs:complexType>
272 </xs:element>
273
274 <xs:element name="Billboard">
275 <xs:annotation>
276 <xs:documentation>Defines a control that rotates through a set of panels on a specified interval.</xs:documentation>
277 </xs:annotation>
278 <xs:complexType>
279 <xs:sequence>
280 <xs:element ref="Panel" />
281 </xs:sequence>
282 <xs:attributeGroup ref="CommonControlAttributes" />
283 <xs:attribute name="Interval" type="xs:positiveInteger">
284 <xs:annotation>
285 <xs:documentation>
286 Specifies the time to wait before showing the next panel, in milliseconds.
287 </xs:documentation>
288 </xs:annotation>
289 </xs:attribute>
290 <xs:attribute name="Loop" type="YesNoType">
291 <xs:annotation>
292 <xs:documentation>Specifies whether the billboard should loop through the panels infinitely.</xs:documentation>
293 </xs:annotation>
294 </xs:attribute>
295 </xs:complexType>
296 </xs:element>
297
298 <xs:element name="AlternateResolution">
299 <xs:annotation>
300 <xs:documentation>
301 Defines an alternate resolution to avoid scaling in different DPIs.
302 </xs:documentation>
303 </xs:annotation>
304 <xs:complexType>
305 <xs:attribute name="ImageFile" type="xs:string">
306 <xs:annotation>
307 <xs:documentation>
308 Relative path to an image file for the control.
309 Mutually exclusive with ImageResource attribute.
310 </xs:documentation>
311 </xs:annotation>
312 </xs:attribute>
313 <xs:attribute name="ImageResource" type="xs:nonNegativeInteger">
314 <xs:annotation>
315 <xs:documentation>
316 Identifier that references an image resource with type RT_RCDATA in the module for the control.
317 Mutually exclusive with ImageFile attribute.
318 </xs:documentation>
319 </xs:annotation>
320 </xs:attribute>
321 </xs:complexType>
322 </xs:element>
323
324 <xs:element name="Button">
325 <xs:annotation>
326 <xs:documentation>
327 Defines a button.
328 </xs:documentation>
329 </xs:annotation>
330 <xs:complexType mixed="true">
331 <xs:annotation>
332 <xs:documentation>
333 Text to display in the button.
334 Mutually exclusive with the StringId attribute and child Text elements.
335 </xs:documentation>
336 </xs:annotation>
337 <xs:choice minOccurs="0" maxOccurs="unbounded">
338 <xs:annotation>
339 <xs:documentation>
340 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).
341 If none of the conditions of the Action elements are true, then it uses the Action element without the Condition attribute.
342 </xs:documentation>
343 </xs:annotation>
344 <xs:element ref="ButtonImage" maxOccurs="1" />
345 <xs:element ref="ButtonFocusImage" maxOccurs="1" />
346 <xs:element ref="ButtonHoverImage" maxOccurs="1" />
347 <xs:element ref="ButtonSelectedImage" maxOccurs="1" />
348 <xs:element ref="BrowseDirectoryAction" />
349 <xs:element ref="ChangePageAction" />
350 <xs:element ref="CloseWindowAction" />
351 <xs:element ref="Text" />
352 <xs:element ref="Tooltip" maxOccurs="1" />
353 </xs:choice>
354 <xs:attributeGroup ref="CommonControlAttributes" />
355 <xs:attributeGroup ref="OwnerDrawImageAttributes" />
356 <xs:attribute name="FontId" type="xs:string">
357 <xs:annotation>
358 <xs:documentation>Identifier to the Font element that serves as the font for the control. Only valid when using graphic buttons.</xs:documentation>
359 </xs:annotation>
360 </xs:attribute>
361 <xs:attribute name="HoverFontId" type="xs:string">
362 <xs:annotation>
363 <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>
364 </xs:annotation>
365 </xs:attribute>
366 <xs:attribute name="SelectedFontId" type="xs:string">
367 <xs:annotation>
368 <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>
369 </xs:annotation>
370 </xs:attribute>
371 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
372 <xs:annotation>
373 <xs:documentation>
374 Identifier that references a string resource in the module to define the text for the control.
375 </xs:documentation>
376 </xs:annotation>
377 </xs:attribute>
378 </xs:complexType>
379 </xs:element>
380
381 <xs:element name="ButtonImage">
382 <xs:annotation>
383 <xs:documentation>
384 Defines a button image.
385 ButtonHoverImage and ButtonSelectedImage are required with ButtonImage.
386 </xs:documentation>
387 </xs:annotation>
388 <xs:complexType>
389 <xs:attributeGroup ref="OwnerDrawImageAttributes" />
390 </xs:complexType>
391 </xs:element>
392
393 <xs:element name="ButtonFocusImage">
394 <xs:annotation>
395 <xs:documentation>
396 Defines a button image that is used when the control has focus.
397 ButtonImage, ButtonHoverImage, and ButtonSelectedImage are required with ButtonFocusImage.
398 If not specified, then the default focus rectangle is drawn on top of ButtonImage.
399 </xs:documentation>
400 </xs:annotation>
401 <xs:complexType>
402 <xs:attributeGroup ref="OwnerDrawImageAttributes" />
403 </xs:complexType>
404 </xs:element>
405
406 <xs:element name="ButtonHoverImage">
407 <xs:annotation>
408 <xs:documentation>
409 Defines a button image that is used when the control is hovered over.
410 ButtonImage and ButtonSelectedImage are required with ButtonHoverImage.
411 </xs:documentation>
412 </xs:annotation>
413 <xs:complexType>
414 <xs:attributeGroup ref="OwnerDrawImageAttributes" />
415 </xs:complexType>
416 </xs:element>
417
418 <xs:element name="ButtonSelectedImage">
419 <xs:annotation>
420 <xs:documentation>
421 Defines a button image that is used when the control is selected.
422 ButtonImage and ButtonHoverImage are required with ButtonSelectedImage.
423 </xs:documentation>
424 </xs:annotation>
425 <xs:complexType>
426 <xs:attributeGroup ref="OwnerDrawImageAttributes" />
427 </xs:complexType>
428 </xs:element>
429
430 <xs:element name="BrowseDirectoryAction">
431 <xs:annotation>
432 <xs:documentation>
433 When the button is pressed, a directory browser dialog is shown.
434 </xs:documentation>
435 </xs:annotation>
436 <xs:complexType>
437 <xs:attribute name="Condition" type="xs:string">
438 <xs:annotation>
439 <xs:documentation>
440 The condition that determines if the parent control will execute this action.
441 </xs:documentation>
442 </xs:annotation>
443 </xs:attribute>
444 <xs:attribute name="VariableName" type="xs:string" use="required">
445 <xs:annotation>
446 <xs:documentation>
447 The name of the variable to update when the user selects a directory from the dialog.
448 </xs:documentation>
449 </xs:annotation>
450 </xs:attribute>
451 </xs:complexType>
452 </xs:element>
453
454 <xs:element name="ChangePageAction">
455 <xs:annotation>
456 <xs:documentation>
457 When the button is pressed, the specified page is shown.
458 </xs:documentation>
459 </xs:annotation>
460 <xs:complexType>
461 <xs:attribute name="Cancel" type="YesNoType">
462 <xs:annotation>
463 <xs:documentation>
464 When set to 'yes', none of the variable changes made on the current page are saved.
465 </xs:documentation>
466 </xs:annotation>
467 </xs:attribute>
468 <xs:attribute name="Condition" type="xs:string">
469 <xs:annotation>
470 <xs:documentation>
471 The condition that determines if the parent control will execute this action.
472 </xs:documentation>
473 </xs:annotation>
474 </xs:attribute>
475 <xs:attribute name="Page" type="xs:string" use="required">
476 <xs:annotation>
477 <xs:documentation>
478 The Name of the Page to show.
479 </xs:documentation>
480 </xs:annotation>
481 </xs:attribute>
482 </xs:complexType>
483 </xs:element>
484
485 <xs:element name="CloseWindowAction">
486 <xs:annotation>
487 <xs:documentation>
488 When the button is pressed, the WM_CLOSE message is sent to the window.
489 </xs:documentation>
490 </xs:annotation>
491 <xs:complexType>
492 <xs:attribute name="Condition" type="xs:string">
493 <xs:annotation>
494 <xs:documentation>
495 The condition that determines if the parent control will execute this action.
496 </xs:documentation>
497 </xs:annotation>
498 </xs:attribute>
499 </xs:complexType>
500 </xs:element>
501
502 <xs:element name="Checkbox">
503 <xs:annotation>
504 <xs:documentation>Defines a checkbox.</xs:documentation>
505 </xs:annotation>
506 <xs:complexType mixed="true">
507 <xs:annotation>
508 <xs:documentation>
509 Text to display beside the checkbox.
510 Mutually exclusive with the StringId attribute and child Text elements.
511 </xs:documentation>
512 </xs:annotation>
513 <xs:choice minOccurs="0" maxOccurs="unbounded">
514 <xs:element ref="Text" />
515 <xs:element ref="Tooltip" maxOccurs="1" />
516 </xs:choice>
517 <xs:attributeGroup ref="CommonControlAttributes" />
518 <xs:attribute name="FontId" type="xs:string">
519 <xs:annotation>
520 <xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
521 </xs:annotation>
522 </xs:attribute>
523 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
524 <xs:annotation>
525 <xs:documentation>
526 Identifier that references a string resource in the module to define the text for the control.
527 </xs:documentation>
528 </xs:annotation>
529 </xs:attribute>
530 </xs:complexType>
531 </xs:element>
532
533 <xs:element name="Combobox">
534 <xs:annotation>
535 <xs:documentation>Defines a combobox.</xs:documentation>
536 </xs:annotation>
537 <xs:complexType>
538 <xs:attributeGroup ref="CommonControlAttributes" />
539 <xs:attribute name="FontId" type="xs:string">
540 <xs:annotation>
541 <xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
542 </xs:annotation>
543 </xs:attribute>
544 </xs:complexType>
545 </xs:element>
546
547 <xs:element name="CommandLink">
548 <xs:annotation>
549 <xs:documentation>Defines a button.</xs:documentation>
550 </xs:annotation>
551 <xs:complexType mixed="true">
552 <xs:annotation>
553 <xs:documentation>
554 Text to display in the button.
555 Mutually exclusive with the StringId attribute and child Text elements.
556 </xs:documentation>
557 </xs:annotation>
558 <xs:choice minOccurs="0" maxOccurs="unbounded">
559 <xs:annotation>
560 <xs:documentation>
561 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).
562 If none of the conditions of the Action elements are true, then it uses the Action element without the Condition attribute.
563 </xs:documentation>
564 </xs:annotation>
565 <xs:element ref="BrowseDirectoryAction" />
566 <xs:element ref="ChangePageAction" />
567 <xs:element ref="CloseWindowAction" />
568 <xs:element ref="Note" />
569 <xs:element ref="Text" />
570 </xs:choice>
571 <xs:attributeGroup ref="CommonControlAttributes" />
572 <xs:attribute name="FontId" type="xs:string">
573 <xs:annotation>
574 <xs:documentation>Identifier to the Font element that serves as the font for the control. Only valid when using graphic buttons.</xs:documentation>
575 </xs:annotation>
576 </xs:attribute>
577 <xs:attribute name="IconFile" type="xs:string">
578 <xs:annotation>
579 <xs:documentation>
580 Relative path to an icon file to define a command link glyph.
581 Mutually exclusive with IconResource and ImageFile and ImageResource attributes.
582 </xs:documentation>
583 </xs:annotation>
584 </xs:attribute>
585 <xs:attribute name="IconResource" type="xs:string">
586 <xs:annotation>
587 <xs:documentation>
588 Identifier that references an icon resource in the module to define a command link glyph.
589 Mutually exclusive with IconFile and ImageFile and ImageResource attributes.
590 </xs:documentation>
591 </xs:annotation>
592 </xs:attribute>
593 <xs:attribute name="ImageFile" type="xs:string">
594 <xs:annotation>
595 <xs:documentation>
596 Relative path to an image file to define a command link glyph.
597 Mutually exclusive with IconFile and IconResource and ImageResource attributes.
598 </xs:documentation>
599 </xs:annotation>
600 </xs:attribute>
601 <xs:attribute name="ImageResource" type="xs:string">
602 <xs:annotation>
603 <xs:documentation>
604 Identifier that references an image resource in the module to define a command link glyph.
605 Mutually exclusive with IconFile and IconResource and ImageFile attributes.
606 </xs:documentation>
607 </xs:annotation>
608 </xs:attribute>
609 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
610 <xs:annotation>
611 <xs:documentation>
612 Identifier that references a string resource in the module to define the text for the control.
613 </xs:documentation>
614 </xs:annotation>
615 </xs:attribute>
616 </xs:complexType>
617 </xs:element>
618
619 <xs:element name="Editbox">
620 <xs:annotation>
621 <xs:documentation>Defines an edit box.</xs:documentation>
622 </xs:annotation>
623 <xs:complexType mixed="true">
624 <xs:simpleContent>
625 <xs:extension base="xs:string">
626 <xs:annotation>
627 <xs:documentation>
628 Initial text for the control.
629 Mutually exclusive with the StringId attribute and child Text elements.
630 </xs:documentation>
631 </xs:annotation>
632 <xs:attributeGroup ref="CommonControlAttributes" />
633 <xs:attribute name="FileSystemAutoComplete" type="YesNoType">
634 <xs:annotation>
635 <xs:documentation>Specifies whether the edit box should auto-complete with file system paths.</xs:documentation>
636 </xs:annotation>
637 </xs:attribute>
638 <xs:attribute name="FontId" type="xs:string">
639 <xs:annotation>
640 <xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
641 </xs:annotation>
642 </xs:attribute>
643 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
644 <xs:annotation>
645 <xs:documentation>
646 Identifier that references a string resource in the module to define the initial text for the control.
647 </xs:documentation>
648 </xs:annotation>
649 </xs:attribute>
650 </xs:extension>
651 </xs:simpleContent>
652 </xs:complexType>
653 </xs:element>
654
655 <xs:element name="Hyperlink">
656 <xs:annotation>
657 <xs:documentation>Defines a hyperlink.</xs:documentation>
658 </xs:annotation>
659 <xs:complexType mixed="true">
660 <xs:annotation>
661 <xs:documentation>
662 Text to display as the link.
663 Mutually exclusive with the StringId attribute and child Text elements.
664 </xs:documentation>
665 </xs:annotation>
666 <xs:choice minOccurs="0" maxOccurs="unbounded">
667 <xs:element ref="Text" />
668 <xs:element ref="Tooltip" maxOccurs="1" />
669 </xs:choice>
670 <xs:attributeGroup ref="CommonControlAttributes" />
671 <xs:attribute name="FontId" type="xs:string">
672 <xs:annotation>
673 <xs:documentation>Identifier to the Font element that serves as the unselected font.</xs:documentation>
674 </xs:annotation>
675 </xs:attribute>
676 <xs:attribute name="HoverFontId" type="xs:string">
677 <xs:annotation>
678 <xs:documentation>Identifier to the Font element that serves as the font when the control is hovered over.</xs:documentation>
679 </xs:annotation>
680 </xs:attribute>
681 <xs:attribute name="SelectedFontId" type="xs:string">
682 <xs:annotation>
683 <xs:documentation>Identifier to the Font element that serves as the font when the control is selected.</xs:documentation>
684 </xs:annotation>
685 </xs:attribute>
686 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
687 <xs:annotation>
688 <xs:documentation>
689 Identifier that references a string resource in the module to define the text for the control.
690 </xs:documentation>
691 </xs:annotation>
692 </xs:attribute>
693 </xs:complexType>
694 </xs:element>
695
696 <xs:element name="Hypertext">
697 <xs:annotation>
698 <xs:documentation>Defines a text block with support for HTML `&lt;a&gt;` tags.</xs:documentation>
699 </xs:annotation>
700 <xs:complexType mixed="true">
701 <xs:annotation>
702 <xs:documentation>
703 Text to display as the link.
704 Use HTML &lt;a href="URL"&gt; to create a link.
705 Mutually exclusive with the StringId attribute and child Text elements.
706 </xs:documentation>
707 </xs:annotation>
708 <xs:choice minOccurs="0" maxOccurs="unbounded">
709 <xs:element ref="Text" />
710 <xs:element ref="Tooltip" maxOccurs="1" />
711 </xs:choice>
712 <xs:attributeGroup ref="CommonControlAttributes" />
713 <xs:attribute name="FontId" type="xs:string">
714 <xs:annotation>
715 <xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
716 </xs:annotation>
717 </xs:attribute>
718 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
719 <xs:annotation>
720 <xs:documentation>
721 Identifier that references a string resource in the module to define the text for the control.
722 </xs:documentation>
723 </xs:annotation>
724 </xs:attribute>
725 </xs:complexType>
726 </xs:element>
727
728 <xs:element name="ImageListItem">
729 <xs:annotation>
730 <xs:documentation>Defines an image for an ImageList.</xs:documentation>
731 </xs:annotation>
732 <xs:complexType>
733 <xs:attribute name="ImageFile" type="xs:string">
734 <xs:annotation>
735 <xs:documentation>Relative path to an image file. Mutually exclusive with ImageResource.</xs:documentation>
736 </xs:annotation>
737 </xs:attribute>
738 <xs:attribute name="ImageResource" type="xs:nonNegativeInteger">
739 <xs:annotation>
740 <xs:documentation>Identifier that references an image resource in the module. Mutually exclusive with ImageFile.</xs:documentation>
741 </xs:annotation>
742 </xs:attribute>
743 </xs:complexType>
744 </xs:element>
745
746 <xs:element name="ImageControl">
747 <xs:annotation>
748 <xs:documentation>Defines an image control.</xs:documentation>
749 </xs:annotation>
750 <xs:complexType>
751 <xs:attributeGroup ref="CommonControlAttributes" />
752 <xs:attributeGroup ref="OwnerDrawImageAttributes" />
753 </xs:complexType>
754 </xs:element>
755
756 <xs:element name="Label">
757 <xs:annotation>
758 <xs:documentation>Defines a label.</xs:documentation>
759 </xs:annotation>
760 <xs:complexType mixed="true">
761 <xs:annotation>
762 <xs:documentation>
763 Text for the label to display.
764 Mutually exclusive with the StringId attribute and child Text elements.
765 </xs:documentation>
766 </xs:annotation>
767 <xs:choice minOccurs="0" maxOccurs="unbounded">
768 <xs:element ref="Text" />
769 <xs:element ref="Tooltip" maxOccurs="1" />
770 </xs:choice>
771 <xs:attributeGroup ref="CommonControlAttributes" />
772 <xs:attribute name="Center" type="YesNoType" use="optional">
773 <xs:annotation>
774 <xs:documentation>Specifies whether the text should be centered horizontally in the width of the control. Default is "no".</xs:documentation>
775 </xs:annotation>
776 </xs:attribute>
777 <xs:attribute name="DisablePrefix" type="YesNoType" use="optional">
778 <xs:annotation>
779 <xs:documentation>By default ampersands (&amp;) 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>
780 </xs:annotation>
781 </xs:attribute>
782 <xs:attribute name="FontId" type="xs:string">
783 <xs:annotation>
784 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
785 </xs:annotation>
786 </xs:attribute>
787 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
788 <xs:annotation>
789 <xs:documentation>
790 Identifier that references a string resource in the module to define the text for the label.
791 </xs:documentation>
792 </xs:annotation>
793 </xs:attribute>
794 </xs:complexType>
795 </xs:element>
796
797 <xs:element name="ListView">
798 <xs:annotation>
799 <xs:documentation>Defines a listview.</xs:documentation>
800 </xs:annotation>
801 <xs:complexType>
802 <xs:choice maxOccurs="unbounded">
803 <xs:element ref="Column" />
804 </xs:choice>
805 <xs:attributeGroup ref="CommonControlAttributes" />
806 <xs:attribute name="FontId" type="xs:string">
807 <xs:annotation>
808 <xs:documentation>Identifier to the Font element that serves as the default font for the ListView.</xs:documentation>
809 </xs:annotation>
810 </xs:attribute>
811 <xs:attribute name="HexExtendedStyle" type="xs:hexBinary">
812 <xs:annotation>
813 <xs:documentation>Hexadecimal extended window style.</xs:documentation>
814 </xs:annotation>
815 </xs:attribute>
816 <xs:attribute name="ImageList" type="xs:string">
817 <xs:annotation>
818 <xs:documentation>
819 The name of the ImageList to assign to this listview with type LVSIL_NORMAL.
820 </xs:documentation>
821 </xs:annotation>
822 </xs:attribute>
823 <xs:attribute name="ImageListSmall" type="xs:string">
824 <xs:annotation>
825 <xs:documentation>
826 The name of the ImageList to assign to this listview with type LVSIL_SMALL.
827 </xs:documentation>
828 </xs:annotation>
829 </xs:attribute>
830 <xs:attribute name="ImageListState" type="xs:string">
831 <xs:annotation>
832 <xs:documentation>
833 The name of the ImageList to assign to this listview with type LVSIL_STATE.
834 </xs:documentation>
835 </xs:annotation>
836 </xs:attribute>
837 <xs:attribute name="ImageListGroupHeader" type="xs:string">
838 <xs:annotation>
839 <xs:documentation>
840 The name of the ImageList to assign to this listview with type LVSIL_GROUPHEADER.
841 </xs:documentation>
842 </xs:annotation>
843 </xs:attribute>
844 </xs:complexType>
845 </xs:element>
846
847 <xs:element name="Note">
848 <xs:annotation>
849 <xs:documentation>
850 Defines note text for a command link control based on an optional condition.
851 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).
852 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.
853 </xs:documentation>
854 </xs:annotation>
855 <xs:complexType>
856 <xs:simpleContent>
857 <xs:extension base="xs:string">
858 <xs:annotation>
859 <xs:documentation>
860 Note text for the parent command link control.
861 </xs:documentation>
862 </xs:annotation>
863 <xs:attribute name="Condition" type="xs:string">
864 <xs:annotation>
865 <xs:documentation>
866 The condition that determines when the parent control will use this note text.
867 </xs:documentation>
868 </xs:annotation>
869 </xs:attribute>
870 </xs:extension>
871 </xs:simpleContent>
872 </xs:complexType>
873 </xs:element>
874
875 <xs:element name="Panel">
876 <xs:annotation>
877 <xs:documentation>Defines a collection of controls.</xs:documentation>
878 </xs:annotation>
879 <xs:complexType>
880 <xs:group ref="PanelControlElements" maxOccurs="unbounded"/>
881 <xs:attributeGroup ref="CommonControlAttributes" />
882 </xs:complexType>
883 </xs:element>
884
885 <xs:element name="Progressbar">
886 <xs:annotation>
887 <xs:documentation>
888 Defines a progress bar.
889 </xs:documentation>
890 </xs:annotation>
891 <xs:complexType>
892 <xs:choice minOccurs="0" maxOccurs="unbounded">
893 <xs:element ref="ProgressbarImage" />
894 </xs:choice>
895 <xs:attributeGroup ref="CommonControlAttributes" />
896 </xs:complexType>
897 </xs:element>
898
899 <xs:element name="ProgressbarImage">
900 <xs:annotation>
901 <xs:documentation>
902 Defines a progress bar image.
903 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.
904 If multiple ProgressbarImages are given, each is assigned an index in document order and can be selected programmatically with ThemeSetProgressControlColor.
905 </xs:documentation>
906 </xs:annotation>
907 <xs:complexType>
908 <xs:attributeGroup ref="OwnerDrawImageAttributes" />
909 </xs:complexType>
910 </xs:element>
911
912 <xs:element name="RadioButton">
913 <xs:annotation>
914 <xs:documentation>Defines an individual radio button within a set of radio buttons.</xs:documentation>
915 </xs:annotation>
916 <xs:complexType mixed="true">
917 <xs:annotation>
918 <xs:documentation>
919 Text to display beside the radio button.
920 Mutually exclusive with the StringId attribute and child Text elements.
921 </xs:documentation>
922 </xs:annotation>
923 <xs:choice minOccurs="0" maxOccurs="unbounded">
924 <xs:element ref="Text" />
925 <xs:element ref="Tooltip" maxOccurs="1" />
926 </xs:choice>
927 <xs:attributeGroup ref="CommonControlAttributes" />
928 <xs:attribute name="FontId" type="xs:string">
929 <xs:annotation>
930 <xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
931 </xs:annotation>
932 </xs:attribute>
933 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
934 <xs:annotation>
935 <xs:documentation>
936 Identifier that references a string resource in the module to define the text for the control.
937 </xs:documentation>
938 </xs:annotation>
939 </xs:attribute>
940 <xs:attribute name="Value" type="xs:string">
941 <xs:annotation>
942 <xs:documentation>Optional value used when setting the variable associated with the set of radio buttons.</xs:documentation>
943 </xs:annotation>
944 </xs:attribute>
945 </xs:complexType>
946 </xs:element>
947
948 <xs:element name="RadioButtons">
949 <xs:annotation>
950 <xs:documentation>Defines a set of radio buttons.</xs:documentation>
951 </xs:annotation>
952 <xs:complexType>
953 <xs:choice maxOccurs="unbounded">
954 <xs:element ref="RadioButton" />
955 </xs:choice>
956 <xs:attribute name="Name" type="xs:string">
957 <xs:annotation>
958 <xs:documentation>Optional variable name for the set of radio buttons.</xs:documentation>
959 </xs:annotation>
960 </xs:attribute>
961 </xs:complexType>
962 </xs:element>
963
964 <xs:element name="Richedit">
965 <xs:annotation>
966 <xs:documentation>Defines a rich edit control.</xs:documentation>
967 </xs:annotation>
968 <xs:complexType mixed="true">
969 <xs:annotation>
970 <xs:documentation>
971 Initial text for the control.
972 Mutually exclusive with the StringId attribute.
973 </xs:documentation>
974 </xs:annotation>
975 <xs:choice minOccurs="0" maxOccurs="unbounded">
976 <xs:element ref="Text" />
977 <xs:element ref="Tooltip" maxOccurs="1" />
978 </xs:choice>
979 <xs:attributeGroup ref="CommonControlAttributes" />
980 <xs:attribute name="FontId" type="xs:string">
981 <xs:annotation>
982 <xs:documentation>
983 Identifier to the Font element that serves as the font for the control.
984 </xs:documentation>
985 </xs:annotation>
986 </xs:attribute>
987 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
988 <xs:annotation>
989 <xs:documentation>
990 Identifier that references a string resource in the module to define the initial text for the control.
991 </xs:documentation>
992 </xs:annotation>
993 </xs:attribute>
994 </xs:complexType>
995 </xs:element>
996
997 <xs:element name="Static">
998 <xs:annotation>
999 <xs:documentation>Defines a straight line.</xs:documentation>
1000 </xs:annotation>
1001 <xs:complexType>
1002 <xs:attributeGroup ref="CommonControlAttributes" />
1003 </xs:complexType>
1004 </xs:element>
1005
1006 <xs:element name="Tab">
1007 <xs:annotation>
1008 <xs:documentation>Defines an individual tab within a set of tabs.</xs:documentation>
1009 </xs:annotation>
1010 <xs:complexType>
1011 <xs:simpleContent>
1012 <xs:extension base="xs:string">
1013 <xs:annotation>
1014 <xs:documentation>
1015 Caption of the tab.
1016 Mutually exclusive with the StringId attribute.
1017 </xs:documentation>
1018 </xs:annotation>
1019 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
1020 <xs:annotation>
1021 <xs:documentation>
1022 Identifier that references a string resource in the module to define the caption of the tab.
1023 </xs:documentation>
1024 </xs:annotation>
1025 </xs:attribute>
1026 </xs:extension>
1027 </xs:simpleContent>
1028 </xs:complexType>
1029 </xs:element>
1030
1031 <xs:element name="Tabs">
1032 <xs:annotation>
1033 <xs:documentation>Defines a set of tabs.</xs:documentation>
1034 </xs:annotation>
1035 <xs:complexType>
1036 <xs:choice maxOccurs="unbounded">
1037 <xs:element ref="Tab" />
1038 </xs:choice>
1039 <xs:attributeGroup ref="CommonControlAttributes" />
1040 <xs:attribute name="FontId" type="xs:string">
1041 <xs:annotation>
1042 <xs:documentation>Identifier to the Font element that serves as the font for the control.</xs:documentation>
1043 </xs:annotation>
1044 </xs:attribute>
1045 </xs:complexType>
1046 </xs:element>
1047
1048 <xs:element name="Text">
1049 <xs:annotation>
1050 <xs:documentation>
1051 Defines text for the parent control based on an optional condition.
1052 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).
1053 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.
1054 </xs:documentation>
1055 </xs:annotation>
1056 <xs:complexType>
1057 <xs:simpleContent>
1058 <xs:extension base="xs:string">
1059 <xs:annotation>
1060 <xs:documentation>
1061 Text for the parent control.
1062 </xs:documentation>
1063 </xs:annotation>
1064 <xs:attribute name="Condition" type="xs:string">
1065 <xs:annotation>
1066 <xs:documentation>
1067 The condition that determines when the parent control will use this text.
1068 </xs:documentation>
1069 </xs:annotation>
1070 </xs:attribute>
1071 </xs:extension>
1072 </xs:simpleContent>
1073 </xs:complexType>
1074 </xs:element>
1075
1076 <xs:element name="Tooltip">
1077 <xs:annotation>
1078 <xs:documentation>
1079 Defines text for the parent control's tooltip.
1080 </xs:documentation>
1081 </xs:annotation>
1082 <xs:complexType>
1083 <xs:simpleContent>
1084 <xs:extension base="xs:string">
1085 <xs:annotation>
1086 <xs:documentation>
1087 Text for the parent control's tooltip.
1088 </xs:documentation>
1089 </xs:annotation>
1090 </xs:extension>
1091 </xs:simpleContent>
1092 </xs:complexType>
1093 </xs:element>
1094
1095 <xs:element name="TreeView">
1096 <xs:annotation>
1097 <xs:documentation>Defines a treeview.</xs:documentation>
1098 </xs:annotation>
1099 <xs:complexType>
1100 <xs:attributeGroup ref="CommonControlAttributes"/>
1101 <xs:attribute name="AlwaysShowSelect">
1102 <xs:annotation>
1103 <xs:documentation>Specifies whether the row always appears selected even when the treeview has lost focus.</xs:documentation>
1104 </xs:annotation>
1105 </xs:attribute>
1106 <xs:attribute name="EnableDragDrop">
1107 <xs:annotation>
1108 <xs:documentation>Specifies whether drag and drop is enabled for the treeview.</xs:documentation>
1109 </xs:annotation>
1110 </xs:attribute>
1111 <xs:attribute name="FullRowSelect">
1112 <xs:annotation>
1113 <xs:documentation>Specifies whether an entire row is selected for the treeview.</xs:documentation>
1114 </xs:annotation>
1115 </xs:attribute>
1116 <xs:attribute name="HasButtons">
1117 <xs:annotation>
1118 <xs:documentation>Specifies whether the treeview will show buttons.</xs:documentation>
1119 </xs:annotation>
1120 </xs:attribute>
1121 <xs:attribute name="HasLines">
1122 <xs:annotation>
1123 <xs:documentation>Specifies whether lines appear for all treeview items.</xs:documentation>
1124 </xs:annotation>
1125 </xs:attribute>
1126 <xs:attribute name="LinesAtRoot">
1127 <xs:annotation>
1128 <xs:documentation>Specifies whether the root nodes have lines beside them.</xs:documentation>
1129 </xs:annotation>
1130 </xs:attribute>
1131 </xs:complexType>
1132 </xs:element>
1133
1134 <xs:element name="Column">
1135 <xs:annotation>
1136 <xs:documentation>A column of a list.</xs:documentation>
1137 </xs:annotation>
1138 <xs:complexType>
1139 <xs:simpleContent>
1140 <xs:extension base="xs:string">
1141 <xs:annotation>
1142 <xs:documentation>
1143 Text for the column header.
1144 Mutually exclusive with the StringId attribute.
1145 </xs:documentation>
1146 </xs:annotation>
1147 <xs:attribute name="Width" type="xs:int">
1148 <xs:annotation>
1149 <xs:documentation>Width of the column.</xs:documentation>
1150 </xs:annotation>
1151 </xs:attribute>
1152 <xs:attribute name="Expands" type="YesNoType">
1153 <xs:annotation>
1154 <xs:documentation>
1155 Whether or not this column can grow to fill available width of the listview.
1156 More than one column can be marked with yes - all expandable columns will share available extra space.
1157 This is especially useful if the Window/@AutoResize is yes.
1158 </xs:documentation>
1159 </xs:annotation>
1160 </xs:attribute>
1161 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
1162 <xs:annotation>
1163 <xs:documentation>
1164 Identifier that references a string resource in the module to define the text for the column header.
1165 </xs:documentation>
1166 </xs:annotation>
1167 </xs:attribute>
1168 </xs:extension>
1169 </xs:simpleContent>
1170 </xs:complexType>
1171 </xs:element>
1172
1173 <xs:group name="ControlElements">
1174 <xs:choice>
1175 <xs:element ref="Billboard" />
1176 <xs:element ref="Button" />
1177 <xs:element ref="Checkbox" />
1178 <xs:element ref="Combobox" />
1179 <xs:element ref="CommandLink" />
1180 <xs:element ref="Editbox" />
1181 <xs:element ref="Hyperlink" />
1182 <xs:element ref="Hypertext" />
1183 <xs:element ref="ImageControl" />
1184 <xs:element ref="Label" />
1185 <xs:element ref="ListView" />
1186 <xs:element ref="Panel" />
1187 <xs:element ref="Progressbar" />
1188 <xs:element ref="RadioButtons" />
1189 <xs:element ref="Richedit" />
1190 <xs:element ref="Static" />
1191 <xs:element ref="Tabs" />
1192 <xs:element ref="TreeView" />
1193 </xs:choice>
1194 </xs:group>
1195
1196 <xs:group name="PanelControlElements">
1197 <xs:choice>
1198 <xs:element ref="Hyperlink" />
1199 <xs:element ref="Hypertext" />
1200 <xs:element ref="ImageControl" />
1201 <xs:element ref="Label" />
1202 <xs:element ref="Progressbar" />
1203 <xs:element ref="Static" />
1204 </xs:choice>
1205 </xs:group>
1206
1207 <xs:attributeGroup name="CommonControlAttributes">
1208 <xs:attribute name="Name" type="xs:string">
1209 <xs:annotation>
1210 <xs:documentation>
1211 Optional name for the control.
1212
1213 If the ThmUtil variable callback system has been configured, such as by
1214 WixStandardBootstrapperApplication, ThmUtil uses the control name to
1215 find a matching variable name. ThmUtil retrieves the variable's value
1216 to set the initial value of the control and sets the variable's value
1217 when the user interacts with the control.
1218
1219 For example, a checkbox control is checked when the matching variable
1220 has a nonzero value and unchecked for a value of `0`. When the user
1221 checks a checkbox control, ThmUtil sets the variable value to a nonzero
1222 value (currently `1`) and to `0` if the checkbox is unchecked.
1223
1224 An edit box control gets its initial value from a matching variable
1225 value. The control value is saved to the variable when navigating away
1226 from the page or when choosing a folder via an associated Browse button.
1227 </xs:documentation>
1228 </xs:annotation>
1229 </xs:attribute>
1230 <xs:attribute name="EnableCondition" type="xs:string">
1231 <xs:annotation>
1232 <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>
1233 </xs:annotation>
1234 </xs:attribute>
1235 <xs:attribute name="Height" type="xs:int" use="required">
1236 <xs:annotation>
1237 <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>
1238 </xs:annotation>
1239 </xs:attribute>
1240 <xs:attribute name="HexStyle" type="xs:hexBinary">
1241 <xs:annotation>
1242 <xs:documentation>Hexadecimal window style for the control.</xs:documentation>
1243 </xs:annotation>
1244 </xs:attribute>
1245 <xs:attribute name="HideWhenDisabled" type="YesNoType">
1246 <xs:annotation>
1247 <xs:documentation>Specifies whether the control should be hidden when disabled.</xs:documentation>
1248 </xs:annotation>
1249 </xs:attribute>
1250 <xs:attribute name="TabStop" type="YesNoType">
1251 <xs:annotation>
1252 <xs:documentation>Specifies whether the control is part of the tab sequence of controls.</xs:documentation>
1253 </xs:annotation>
1254 </xs:attribute>
1255 <xs:attribute name="Visible" type="YesNoType">
1256 <xs:annotation>
1257 <xs:documentation>Specifies whether the control is initially visible.</xs:documentation>
1258 </xs:annotation>
1259 </xs:attribute>
1260 <xs:attribute name="VisibleCondition" type="xs:string">
1261 <xs:annotation>
1262 <xs:documentation>
1263 A condition that determines if the control is visible. If this condition is true or omitted, then the control will be visible.
1264 </xs:documentation>
1265 </xs:annotation>
1266 </xs:attribute>
1267 <xs:attribute name="Width" type="xs:int" use="required">
1268 <xs:annotation>
1269 <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>
1270 </xs:annotation>
1271 </xs:attribute>
1272 <xs:attribute name="X" type="xs:int" use="required">
1273 <xs:annotation>
1274 <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>
1275 </xs:annotation>
1276 </xs:attribute>
1277 <xs:attribute name="Y" type="xs:int" use="required">
1278 <xs:annotation>
1279 <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>
1280 </xs:annotation>
1281 </xs:attribute>
1282 </xs:attributeGroup>
1283
1284 <xs:attributeGroup name="OwnerDrawImageAttributes">
1285 <xs:attribute name="ImageId" type="xs:string">
1286 <xs:annotation>
1287 <xs:documentation>
1288 Identifier to the Image element that serves as the image for the control.
1289 Mutually exclusive with ImageFile and ImageResource and SourceX and SourceY attributes.
1290 </xs:documentation>
1291 </xs:annotation>
1292 </xs:attribute>
1293 <xs:attribute name="ImageFile" type="xs:string">
1294 <xs:annotation>
1295 <xs:documentation>
1296 Relative path to an image file for the control.
1297 Mutually exclusive with ImageId and ImageResource and SourceX and SourceY attributes.
1298 </xs:documentation>
1299 </xs:annotation>
1300 </xs:attribute>
1301 <xs:attribute name="ImageResource" type="xs:nonNegativeInteger">
1302 <xs:annotation>
1303 <xs:documentation>
1304 Identifier that references an image resource with type RT_RCDATA in the module for the control.
1305 Mutually exclusive with ImageId and ImageFile and SourceX and SourceY attributes.
1306 </xs:documentation>
1307 </xs:annotation>
1308 </xs:attribute>
1309 <xs:attribute name="SourceX" type="xs:nonNegativeInteger">
1310 <xs:annotation>
1311 <xs:documentation>
1312 X offset of the Theme/@ImageFile or Theme/@ImageResource.
1313 Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
1314 Mutually exclusive with ImageId and ImageFile and ImageResource attributes.
1315 </xs:documentation>
1316 </xs:annotation>
1317 </xs:attribute>
1318 <xs:attribute name="SourceY" type="xs:nonNegativeInteger">
1319 <xs:annotation>
1320 <xs:documentation>
1321 Y offset of the Theme/@ImageFile or Theme/@ImageResource.
1322 Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
1323 Mutually exclusive with ImageId and ImageFile and ImageResource attributes.
1324 </xs:documentation>
1325 </xs:annotation>
1326 </xs:attribute>
1327 </xs:attributeGroup>
1328
1329 <xs:simpleType name="YesNoType">
1330 <xs:annotation>
1331 <xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
1332 </xs:annotation>
1333 <xs:restriction base="xs:NMTOKEN">
1334 <xs:enumeration value="no"/>
1335 <xs:enumeration value="yes"/>
1336 </xs:restriction>
1337 </xs:simpleType>
1338
1339 <xs:simpleType name="SystemColorType">
1340 <xs:annotation>
1341 <xs:documentation>
1342 Indicates a system color for a font.
1343 </xs:documentation>
1344 </xs:annotation>
1345 <xs:restriction base="xs:NMTOKEN">
1346 <xs:enumeration value="btnface" />
1347 <xs:enumeration value="btntext" />
1348 <xs:enumeration value="graytext" />
1349 <xs:enumeration value="highlight" />
1350 <xs:enumeration value="highlighttext" />
1351 <xs:enumeration value="hotlight" />
1352 <xs:enumeration value="window" />
1353 <xs:enumeration value="windowtext" />
1354 </xs:restriction>
1355 </xs:simpleType>
1356
1357 <xs:simpleType name="FontColorType">
1358 <xs:annotation>
1359 <xs:documentation>
1360 Indicates the foreground or background color of a font.
1361 </xs:documentation>
1362 </xs:annotation>
1363 <xs:union memberTypes="SystemColorType xs:string"/>
1364 </xs:simpleType>
1365</xs:schema>