1 //
2 // VisualStyleElement.cs
3 //
4 // Permission is hereby granted, free of charge, to any person obtaining
5 // a copy of this software and associated documentation files (the
6 // "Software"), to deal in the Software without restriction, including
7 // without limitation the rights to use, copy, modify, merge, publish,
8 // distribute, sublicense, and/or sell copies of the Software, and to
9 // permit persons to whom the Software is furnished to do so, subject to
10 // the following conditions:
11 //
12 // The above copyright notice and this permission notice shall be
13 // included in all copies or substantial portions of the Software.
14 //
15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 //
23 // Copyright (c) 2006 Novell, Inc.
24 //
25 // Authors:
26 //	Jonathan Pobst (monkey@jpobst.com)
27 //
28 
29 namespace System.Windows.Forms.VisualStyles
30 {
31 	public class VisualStyleElement
32 	{
33 		#region Private Variables
34 		#region Class name/part/state constants
35 		private const string BUTTON = "BUTTON";
36 		private const string CLOCK = "CLOCK";
37 		private const string COMBOBOX = "COMBOBOX";
38 		#region DATEPICKER
39 		const string DATEPICKER = "DATEPICKER";
40 		enum DATEPICKERPARTS
41 		{
42 			DP_DATEBORDER = 2,
43 			DP_SHOWCALENDARBUTTONRIGHT
44 		}
45 		enum DATEBORDERSTATES
46 		{
47 			DPDB_NORMAL = 1,
48 			DPDB_HOT,
49 			DPDB_FOCUSED,
50 			DPDB_DISABLED
51 		}
52 		enum SHOWCALENDARBUTTONRIGHTSTATES
53 		{
54 			DPSCBR_NORMAL = 1,
55 			DPSCBR_HOT,
56 			DPSCBR_PRESSED,
57 			DPSCBR_DISABLED
58 		}
59 		#endregion
60 		private const string EDIT = "EDIT";
61 		private const string EXPLORERBAR = "EXPLORERBAR";
62 		private const string HEADER = "HEADER";
63 		private const string LISTVIEW = "LISTVIEW";
64 		private const string MENU = "MENU";
65 		private const string MENUBAND = "MENUBAND";
66 		private const string PAGE = "PAGE";
67 		private const string PROGRESS = "PROGRESS";
68 		private const string REBAR = "REBAR";
69 		private const string SCROLLBAR = "SCROLLBAR";
70 		private const string SPIN = "SPIN";
71 		private const string STARTPANEL = "STARTPANEL";
72 		private const string STATUS = "STATUS";
73 		private const string TAB = "TAB";
74 		private const string TASKBAND = "TASKBAND";
75 		private const string TASKBAR = "TASKBAR";
76 		private const string TOOLBAR = "TOOLBAR";
77 		private const string TOOLTIP = "TOOLTIP";
78 		private const string TRACKBAR = "TRACKBAR";
79 		private const string TRAYNOTIFY = "TRAYNOTIFY";
80 		private const string TREEVIEW = "TREEVIEW";
81 		private const string WINDOW = "WINDOW";
82 		#endregion
83 
84 		private string class_name;
85 		private int part;
86 		private int state;
87 		#endregion
88 
89 		#region Constructors/Deconstructors
VisualStyleElement(string className, int part, int state)90 		internal VisualStyleElement (string className, int part, int state)
91 		{
92 			this.class_name = className;
93 			this.part = part;
94 			this.state = state;
95 		}
96 		#endregion
97 
98 		#region Public Instance Properties
99 		public string ClassName { get { return this.class_name; } }
100 		public int Part { get { return this.part; } }
101 		public int State { get { return this.state; } }
102 		#endregion
103 
104 		#region Public Static Methods
CreateElement(string className, int part, int state)105 		public static VisualStyleElement CreateElement (string className, int part, int state)
106 		{
107 			return new VisualStyleElement (className, part, state);
108 		}
109 		#endregion
110 
111 		#region Static Classes
112 		#region Button
113 		public static class Button
114 		{
115 			public static class CheckBox
116 			{
117 				public static VisualStyleElement CheckedDisabled {
118 					get {
119 						return VisualStyleElement.CreateElement (
120 							BUTTON,
121 							(int)BUTTONPARTS.BP_CHECKBOX,
122 							(int)CHECKBOXSTATES.CBS_CHECKEDDISABLED);
123 					}
124 				}
125 				public static VisualStyleElement CheckedHot {
126 					get {
127 						return VisualStyleElement.CreateElement (
128 							BUTTON,
129 							(int)BUTTONPARTS.BP_CHECKBOX,
130 							(int)CHECKBOXSTATES.CBS_CHECKEDHOT);
131 					}
132 				}
133 				public static VisualStyleElement CheckedNormal {
134 					get {
135 						return VisualStyleElement.CreateElement (
136 							BUTTON,
137 							(int)BUTTONPARTS.BP_CHECKBOX,
138 							(int)CHECKBOXSTATES.CBS_CHECKEDNORMAL);
139 					}
140 				}
141 				public static VisualStyleElement CheckedPressed {
142 					get {
143 						return VisualStyleElement.CreateElement (
144 							BUTTON,
145 							(int)BUTTONPARTS.BP_CHECKBOX,
146 							(int)CHECKBOXSTATES.CBS_CHECKEDPRESSED);
147 					}
148 				}
149 				public static VisualStyleElement MixedDisabled {
150 					get {
151 						return VisualStyleElement.CreateElement (
152 							BUTTON,
153 							(int)BUTTONPARTS.BP_CHECKBOX,
154 							(int)CHECKBOXSTATES.CBS_MIXEDDISABLED);
155 					}
156 				}
157 				public static VisualStyleElement MixedHot {
158 					get {
159 						return VisualStyleElement.CreateElement (
160 							BUTTON,
161 							(int)BUTTONPARTS.BP_CHECKBOX,
162 							(int)CHECKBOXSTATES.CBS_MIXEDHOT);
163 					}
164 				}
165 				public static VisualStyleElement MixedNormal {
166 					get {
167 						return VisualStyleElement.CreateElement (
168 							BUTTON,
169 							(int)BUTTONPARTS.BP_CHECKBOX,
170 							(int)CHECKBOXSTATES.CBS_MIXEDNORMAL);
171 					}
172 				}
173 				public static VisualStyleElement MixedPressed {
174 					get {
175 						return VisualStyleElement.CreateElement (
176 							BUTTON,
177 							(int)BUTTONPARTS.BP_CHECKBOX,
178 							(int)CHECKBOXSTATES.CBS_MIXEDPRESSED);
179 					}
180 				}
181 				public static VisualStyleElement UncheckedDisabled {
182 					get {
183 						return VisualStyleElement.CreateElement (
184 							BUTTON,
185 							(int)BUTTONPARTS.BP_CHECKBOX,
186 							(int)CHECKBOXSTATES.CBS_UNCHECKEDDISABLED);
187 					}
188 				}
189 				public static VisualStyleElement UncheckedHot {
190 					get {
191 						return VisualStyleElement.CreateElement (
192 							BUTTON,
193 							(int)BUTTONPARTS.BP_CHECKBOX,
194 							(int)CHECKBOXSTATES.CBS_UNCHECKEDHOT);
195 					}
196 				}
197 				public static VisualStyleElement UncheckedNormal {
198 					get {
199 						return VisualStyleElement.CreateElement (
200 							BUTTON,
201 							(int)BUTTONPARTS.BP_CHECKBOX,
202 							(int)CHECKBOXSTATES.CBS_UNCHECKEDNORMAL);
203 					}
204 				}
205 				public static VisualStyleElement UncheckedPressed {
206 					get {
207 						return VisualStyleElement.CreateElement (
208 							BUTTON,
209 							(int)BUTTONPARTS.BP_CHECKBOX,
210 							(int)CHECKBOXSTATES.CBS_UNCHECKEDPRESSED);
211 					}
212 				}
213 			}
214 			public static class GroupBox
215 			{
216 				public static VisualStyleElement Disabled {
217 					get {
218 						return VisualStyleElement.CreateElement (
219 							BUTTON,
220 							(int)BUTTONPARTS.BP_GROUPBOX,
221 							(int)GROUPBOXSTATES.GBS_DISABLED);
222 					}
223 				}
224 				public static VisualStyleElement Normal {
225 					get {
226 						return VisualStyleElement.CreateElement (
227 							BUTTON,
228 							(int)BUTTONPARTS.BP_GROUPBOX,
229 							(int)GROUPBOXSTATES.GBS_NORMAL);
230 					}
231 				}
232 			}
233 			public static class PushButton
234 			{
235 				public static VisualStyleElement Default {
236 					get {
237 						return VisualStyleElement.CreateElement (
238 							BUTTON,
239 							(int)BUTTONPARTS.BP_PUSHBUTTON,
240 							(int)PUSHBUTTONSTATES.PBS_DEFAULTED);
241 					}
242 				}
243 				public static VisualStyleElement Disabled {
244 					get {
245 						return VisualStyleElement.CreateElement (
246 							BUTTON,
247 							(int)BUTTONPARTS.BP_PUSHBUTTON,
248 							(int)PUSHBUTTONSTATES.PBS_DISABLED);
249 					}
250 				}
251 				public static VisualStyleElement Hot {
252 					get {
253 						return VisualStyleElement.CreateElement (
254 							BUTTON,
255 							(int)BUTTONPARTS.BP_PUSHBUTTON,
256 							(int)PUSHBUTTONSTATES.PBS_HOT);
257 					}
258 				}
259 				public static VisualStyleElement Normal {
260 					get {
261 						return VisualStyleElement.CreateElement (
262 							BUTTON,
263 							(int)BUTTONPARTS.BP_PUSHBUTTON,
264 							(int)PUSHBUTTONSTATES.PBS_NORMAL);
265 					}
266 				}
267 				public static VisualStyleElement Pressed {
268 					get {
269 						return VisualStyleElement.CreateElement (
270 							BUTTON,
271 							(int)BUTTONPARTS.BP_PUSHBUTTON,
272 							(int)PUSHBUTTONSTATES.PBS_PRESSED);
273 					}
274 				}
275 			}
276 			public static class RadioButton
277 			{
278 				public static VisualStyleElement CheckedDisabled {
279 					get {
280 						return VisualStyleElement.CreateElement (
281 							BUTTON,
282 							(int)BUTTONPARTS.BP_RADIOBUTTON,
283 							(int)RADIOBUTTONSTATES.RBS_CHECKEDDISABLED);
284 					}
285 				}
286 				public static VisualStyleElement CheckedHot {
287 					get {
288 						return VisualStyleElement.CreateElement (
289 							BUTTON,
290 							(int)BUTTONPARTS.BP_RADIOBUTTON,
291 							(int)RADIOBUTTONSTATES.RBS_CHECKEDHOT);
292 					}
293 				}
294 				public static VisualStyleElement CheckedNormal {
295 					get {
296 						return VisualStyleElement.CreateElement (
297 							BUTTON,
298 							(int)BUTTONPARTS.BP_RADIOBUTTON,
299 							(int)RADIOBUTTONSTATES.RBS_CHECKEDNORMAL);
300 					}
301 				}
302 				public static VisualStyleElement CheckedPressed {
303 					get {
304 						return VisualStyleElement.CreateElement (
305 							BUTTON,
306 							(int)BUTTONPARTS.BP_RADIOBUTTON,
307 							(int)RADIOBUTTONSTATES.RBS_CHECKEDPRESSED);
308 					}
309 				}
310 				public static VisualStyleElement UncheckedDisabled {
311 					get {
312 						return VisualStyleElement.CreateElement (
313 							BUTTON,
314 							(int)BUTTONPARTS.BP_RADIOBUTTON,
315 							(int)RADIOBUTTONSTATES.RBS_UNCHECKEDDISABLED);
316 					}
317 				}
318 				public static VisualStyleElement UncheckedHot {
319 					get {
320 						return VisualStyleElement.CreateElement (
321 							BUTTON,
322 							(int)BUTTONPARTS.BP_RADIOBUTTON,
323 							(int)RADIOBUTTONSTATES.RBS_UNCHECKEDHOT);
324 					}
325 				}
326 				public static VisualStyleElement UncheckedNormal {
327 					get {
328 						return VisualStyleElement.CreateElement (
329 							BUTTON,
330 							(int)BUTTONPARTS.BP_RADIOBUTTON,
331 							(int)RADIOBUTTONSTATES.RBS_UNCHECKEDNORMAL);
332 					}
333 				}
334 				public static VisualStyleElement UncheckedPressed {
335 					get {
336 						return VisualStyleElement.CreateElement (
337 							BUTTON,
338 							(int)BUTTONPARTS.BP_RADIOBUTTON,
339 							(int)RADIOBUTTONSTATES.RBS_UNCHECKEDPRESSED);
340 					}
341 				}
342 			}
343 			public static class UserButton
344 			{
345 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.BUTTON, 5, 0); } }
346 			}
347 		}
348 		#endregion
349 		#region ComboBox
350 		public static class ComboBox
351 		{
352 			public static class DropDownButton
353 			{
354 				public static VisualStyleElement Disabled {
355 					get {
356 						return VisualStyleElement.CreateElement (
357 							COMBOBOX,
358 							(int)COMBOBOXPARTS.CP_DROPDOWNBUTTON,
359 							(int)COMBOBOXSTYLESTATES.CBXS_DISABLED);
360 					}
361 				}
362 				public static VisualStyleElement Hot {
363 					get {
364 						return VisualStyleElement.CreateElement (
365 							COMBOBOX,
366 							(int)COMBOBOXPARTS.CP_DROPDOWNBUTTON,
367 							(int)COMBOBOXSTYLESTATES.CBXS_HOT);
368 					}
369 				}
370 				public static VisualStyleElement Normal {
371 					get {
372 						return VisualStyleElement.CreateElement (
373 							COMBOBOX,
374 							(int)COMBOBOXPARTS.CP_DROPDOWNBUTTON,
375 							(int)COMBOBOXSTYLESTATES.CBXS_NORMAL);
376 					}
377 				}
378 				public static VisualStyleElement Pressed {
379 					get {
380 						return VisualStyleElement.CreateElement (
381 							COMBOBOX,
382 							(int)COMBOBOXPARTS.CP_DROPDOWNBUTTON,
383 							(int)COMBOBOXSTYLESTATES.CBXS_PRESSED);
384 					}
385 				}
386 			}
387 			internal static class Border
388 			{
389 				public static VisualStyleElement Normal {
390 					get {
391 						return new VisualStyleElement (
392 							COMBOBOX,
393 							(int)COMBOBOXPARTS.CP_BORDER,
394 							(int)BORDERSTATES.CBB_NORMAL);
395 					}
396 				}
397 				public static VisualStyleElement Hot {
398 					get {
399 						return new VisualStyleElement (
400 							COMBOBOX,
401 							(int)COMBOBOXPARTS.CP_BORDER,
402 							(int)BORDERSTATES.CBB_HOT);
403 					}
404 				}
405 				public static VisualStyleElement Focused {
406 					get {
407 						return new VisualStyleElement (
408 							COMBOBOX,
409 							(int)COMBOBOXPARTS.CP_BORDER,
410 							(int)BORDERSTATES.CBB_FOCUSED);
411 					}
412 				}
413 				public static VisualStyleElement Disabled {
414 					get {
415 						return new VisualStyleElement (
416 							COMBOBOX,
417 							(int)COMBOBOXPARTS.CP_BORDER,
418 							(int)BORDERSTATES.CBB_DISABLED);
419 					}
420 				}
421 			}
422 		}
423 		#endregion
424 		#region DatePicker
425 		internal static class DatePicker
426 		{
427 			public static class DateBorder
428 			{
429 				public static VisualStyleElement Normal {
430 					get {
431 						return new VisualStyleElement (
432 							DATEPICKER,
433 							(int)DATEPICKERPARTS.DP_DATEBORDER,
434 							(int)DATEBORDERSTATES.DPDB_NORMAL);
435 					}
436 				}
437 				public static VisualStyleElement Hot {
438 					get {
439 						return new VisualStyleElement (
440 							DATEPICKER,
441 							(int)DATEPICKERPARTS.DP_DATEBORDER,
442 							(int)DATEBORDERSTATES.DPDB_HOT);
443 					}
444 				}
445 				public static VisualStyleElement Focused {
446 					get {
447 						return new VisualStyleElement (
448 							DATEPICKER,
449 							(int)DATEPICKERPARTS.DP_DATEBORDER,
450 							(int)DATEBORDERSTATES.DPDB_FOCUSED);
451 					}
452 				}
453 				public static VisualStyleElement Disabled {
454 					get {
455 						return new VisualStyleElement (
456 							DATEPICKER,
457 							(int)DATEPICKERPARTS.DP_DATEBORDER,
458 							(int)DATEBORDERSTATES.DPDB_DISABLED);
459 					}
460 				}
461 			}
462 			public static class ShowCalendarButtonRight
463 			{
464 				public static VisualStyleElement Normal {
465 					get {
466 						return new VisualStyleElement (
467 							DATEPICKER,
468 							(int)DATEPICKERPARTS.DP_SHOWCALENDARBUTTONRIGHT,
469 							(int)SHOWCALENDARBUTTONRIGHTSTATES.DPSCBR_NORMAL);
470 					}
471 				}
472 				public static VisualStyleElement Hot {
473 					get {
474 						return new VisualStyleElement (
475 							DATEPICKER,
476 							(int)DATEPICKERPARTS.DP_SHOWCALENDARBUTTONRIGHT,
477 							(int)SHOWCALENDARBUTTONRIGHTSTATES.DPSCBR_HOT);
478 					}
479 				}
480 				public static VisualStyleElement Pressed {
481 					get {
482 						return new VisualStyleElement (
483 							DATEPICKER,
484 							(int)DATEPICKERPARTS.DP_SHOWCALENDARBUTTONRIGHT,
485 							(int)SHOWCALENDARBUTTONRIGHTSTATES.DPSCBR_PRESSED);
486 					}
487 				}
488 				public static VisualStyleElement Disabled {
489 					get {
490 						return new VisualStyleElement (
491 							DATEPICKER,
492 							(int)DATEPICKERPARTS.DP_SHOWCALENDARBUTTONRIGHT,
493 							(int)SHOWCALENDARBUTTONRIGHTSTATES.DPSCBR_DISABLED);
494 					}
495 				}
496 			}
497 		}
498 		#endregion
499 		#region ExplorerBar
500 		public static class ExplorerBar
501 		{
502 			public static class HeaderBackground
503 			{
504 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 1, 0); } }
505 			}
506 			public static class HeaderClose
507 			{
508 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 2, 1); } }
509 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 2, 2); } }
510 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 2, 3); } }
511 			}
512 			public static class HeaderPin
513 			{
514 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 3, 2); } }
515 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 3, 1); } }
516 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 3, 3); } }
517 				public static VisualStyleElement SelectedHot { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 3, 5); } }
518 				public static VisualStyleElement SelectedNormal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 3, 4); } }
519 				public static VisualStyleElement SelectedPressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 3, 6); } }
520 			}
521 			public static class IEBarMenu
522 			{
523 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 4, 2); } }
524 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 4, 1); } }
525 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 4, 3); } }
526 			}
527 			public static class NormalGroupBackground
528 			{
529 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 5, 0); } }
530 			}
531 			public static class NormalGroupCollapse
532 			{
533 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 6, 2); } }
534 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 6, 1); } }
535 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 6, 3); } }
536 			}
537 			public static class NormalGroupExpand
538 			{
539 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 7, 2); } }
540 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 7, 1); } }
541 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 7, 3); } }
542 			}
543 			public static class NormalGroupHead
544 			{
545 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 8, 0); } }
546 			}
547 			public static class SpecialGroupBackground
548 			{
549 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 9, 0); } }
550 			}
551 			public static class SpecialGroupCollapse
552 			{
553 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 10, 2); } }
554 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 10, 1); } }
555 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 10, 3); } }
556 			}
557 			public static class SpecialGroupExpand
558 			{
559 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 11, 2); } }
560 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 11, 1); } }
561 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 11, 3); } }
562 			}
563 			public static class SpecialGroupHead
564 			{
565 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EXPLORERBAR, 12, 0); } }
566 			}
567 		}
568 		#endregion
569 		#region Header
570 		public static class Header
571 		{
572 			public static class Item
573 			{
574 				public static VisualStyleElement Hot {
575 					get {
576 						return VisualStyleElement.CreateElement (
577 							HEADER,
578 							(int)HEADERPARTS.HP_HEADERITEM,
579 							(int)HEADERITEMSTATES.HIS_HOT);
580 					}
581 				}
582 				public static VisualStyleElement Normal {
583 					get {
584 						return VisualStyleElement.CreateElement (
585 							HEADER,
586 							(int)HEADERPARTS.HP_HEADERITEM,
587 							(int)HEADERITEMSTATES.HIS_NORMAL);
588 					}
589 				}
590 				public static VisualStyleElement Pressed {
591 					get {
592 						return VisualStyleElement.CreateElement (
593 							HEADER,
594 							(int)HEADERPARTS.HP_HEADERITEM,
595 							(int)HEADERITEMSTATES.HIS_PRESSED);
596 					}
597 				}
598 			}
599 			public static class ItemLeft
600 			{
601 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.HEADER, 2, 2); } }
602 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.HEADER, 2, 1); } }
603 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.HEADER, 2, 3); } }
604 			}
605 			public static class ItemRight
606 			{
607 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.HEADER, 3, 2); } }
608 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.HEADER, 3, 1); } }
609 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.HEADER, 3, 3); } }
610 			}
611 			public static class SortArrow
612 			{
613 				public static VisualStyleElement SortedDown { get { return VisualStyleElement.CreateElement (VisualStyleElement.HEADER, 4, 2); } }
614 				public static VisualStyleElement SortedUp { get { return VisualStyleElement.CreateElement (VisualStyleElement.HEADER, 4, 1); } }
615 			}
616 		}
617 		#endregion
618 		#region ListView
619 		public static class ListView
620 		{
621 			public static class Detail
622 			{
623 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 3, 0); } }
624 			}
625 			public static class EmptyText
626 			{
627 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 5, 0); } }
628 			}
629 			public static class Group
630 			{
631 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 2, 0); } }
632 			}
633 			public static class Item
634 			{
635 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 1, 4); } }
636 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 1, 2); } }
637 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 1, 1); } }
638 				public static VisualStyleElement Selected { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 1, 3); } }
639 				public static VisualStyleElement SelectedNotFocus { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 1, 5); } }
640 			}
641 			public static class SortedDetail
642 			{
643 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.LISTVIEW, 4, 0); } }
644 			}
645 		}
646 		#endregion
647 		#region Menu
648 		public static class Menu
649 		{
650 			public static class BarDropDown
651 			{
652 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENU, 4, 0); } }
653 			}
654 			public static class BarItem
655 			{
656 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENU, 3, 0); } }
657 			}
658 			public static class Chevron
659 			{
660 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENU, 5, 0); } }
661 			}
662 			public static class DropDown
663 			{
664 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENU, 2, 0); } }
665 			}
666 			public static class Item
667 			{
668 				public static VisualStyleElement Demoted { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENU, 1, 3); } }
669 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENU, 1, 1); } }
670 				public static VisualStyleElement Selected { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENU, 1, 2); } }
671 			}
672 			public static class Separator
673 			{
674 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENU, 6, 0); } }
675 			}
676 		}
677 		#endregion
678 		#region MenuBand
679 		public static class MenuBand
680 		{
681 			public static class NewApplicationButton
682 			{
683 				public static VisualStyleElement Checked { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENUBAND, 1, 5); } }
684 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENUBAND, 1, 4); } }
685 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENUBAND, 1, 2); } }
686 				public static VisualStyleElement HotChecked { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENUBAND, 1, 6); } }
687 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENUBAND, 1, 1); } }
688 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENUBAND, 1, 3); } }
689 			}
690 			public static class Separator
691 			{
692 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.MENUBAND, 2, 0); } }
693 			}
694 		}
695 		#endregion
696 		#region Page
697 		public static class Page
698 		{
699 			public static class Down
700 			{
701 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 2, 4); } }
702 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 2, 2); } }
703 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 2, 3); } }
704 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 2, 1); } }
705 			}
706 			public static class DownHorizontal
707 			{
708 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 4, 4); } }
709 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 4, 2); } }
710 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 4, 1); } }
711 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 4, 3); } }
712 			}
713 			public static class Up
714 			{
715 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 1, 4); } }
716 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 1, 2); } }
717 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 1, 1); } }
718 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 1, 3); } }
719 			}
720 			public static class UpHorizontal
721 			{
722 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 3, 4); } }
723 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 3, 2); } }
724 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 3, 1); } }
725 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.PAGE, 3, 3); } }
726 			}
727 		}
728 		#endregion
729 		#region ProgressBar
730 		public static class ProgressBar
731 		{
732 			public static class Bar
733 			{
734 				public static VisualStyleElement Normal {
735 					get {
736 						return VisualStyleElement.CreateElement (
737 							PROGRESS,
738 							(int)PROGRESSPARTS.PP_BAR,
739 							0);
740 					}
741 				}
742 			}
743 			public static class BarVertical
744 			{
745 				public static VisualStyleElement Normal {
746 					get {
747 						return VisualStyleElement.CreateElement (
748 							PROGRESS,
749 							(int)PROGRESSPARTS.PP_BARVERT,
750 							0);
751 					}
752 				}
753 			}
754 			public static class Chunk
755 			{
756 				public static VisualStyleElement Normal {
757 					get {
758 						return VisualStyleElement.CreateElement (
759 							PROGRESS,
760 							(int)PROGRESSPARTS.PP_CHUNK,
761 							0);
762 					}
763 				}
764 			}
765 			public static class ChunkVertical
766 			{
767 				public static VisualStyleElement Normal {
768 					get {
769 						return VisualStyleElement.CreateElement (
770 							PROGRESS,
771 							(int)PROGRESSPARTS.PP_CHUNKVERT,
772 							0);
773 					}
774 				}
775 			}
776 		}
777 		#endregion
778 		#region Rebar
779 		public static class Rebar
780 		{
781 			public static class Band
782 			{
783 				public static VisualStyleElement Normal {
784 					get {
785 						return VisualStyleElement.CreateElement (
786 							REBAR,
787 							(int)REBARPARTS.RP_BAND,
788 							0);
789 					}
790 				}
791 			}
792 			public static class Chevron
793 			{
794 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.REBAR, 4, 2); } }
795 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.REBAR, 4, 1); } }
796 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.REBAR, 4, 3); } }
797 			}
798 			public static class ChevronVertical
799 			{
800 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.REBAR, 5, 2); } }
801 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.REBAR, 5, 1); } }
802 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.REBAR, 5, 3); } }
803 			}
804 			public static class Gripper
805 			{
806 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.REBAR, 1, 0); } }
807 			}
808 			public static class GripperVertical
809 			{
810 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.REBAR, 2, 0); } }
811 			}
812 		}
813 		#endregion
814 		#region ScrollBar
815 		public static class ScrollBar
816 		{
817 			public static class ArrowButton
818 			{
819 				public static VisualStyleElement DownDisabled {
820 					get {
821 						return VisualStyleElement.CreateElement (
822 							SCROLLBAR,
823 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
824 							(int)ARROWBTNSTATES.ABS_DOWNDISABLED);
825 					}
826 				}
827 				public static VisualStyleElement DownHot {
828 					get {
829 						return VisualStyleElement.CreateElement (
830 							SCROLLBAR,
831 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
832 							(int)ARROWBTNSTATES.ABS_DOWNHOT);
833 					}
834 				}
835 				public static VisualStyleElement DownNormal {
836 					get {
837 						return VisualStyleElement.CreateElement (
838 							SCROLLBAR,
839 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
840 							(int)ARROWBTNSTATES.ABS_DOWNNORMAL);
841 					}
842 				}
843 				public static VisualStyleElement DownPressed {
844 					get {
845 						return VisualStyleElement.CreateElement (
846 							SCROLLBAR,
847 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
848 							(int)ARROWBTNSTATES.ABS_DOWNPRESSED);
849 					}
850 				}
851 				public static VisualStyleElement LeftDisabled {
852 					get {
853 						return VisualStyleElement.CreateElement (
854 							SCROLLBAR,
855 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
856 							(int)ARROWBTNSTATES.ABS_LEFTDISABLED);
857 					}
858 				}
859 				public static VisualStyleElement LeftHot {
860 					get {
861 						return VisualStyleElement.CreateElement (
862 							SCROLLBAR,
863 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
864 							(int)ARROWBTNSTATES.ABS_LEFTHOT);
865 					}
866 				}
867 				public static VisualStyleElement LeftNormal {
868 					get {
869 						return VisualStyleElement.CreateElement (
870 							SCROLLBAR,
871 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
872 							(int)ARROWBTNSTATES.ABS_LEFTNORMAL);
873 					}
874 				}
875 				public static VisualStyleElement LeftPressed {
876 					get {
877 						return VisualStyleElement.CreateElement (
878 							SCROLLBAR,
879 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
880 							(int)ARROWBTNSTATES.ABS_LEFTPRESSED);
881 					}
882 				}
883 				public static VisualStyleElement RightDisabled {
884 					get {
885 						return VisualStyleElement.CreateElement (
886 							SCROLLBAR,
887 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
888 							(int)ARROWBTNSTATES.ABS_RIGHTDISABLED);
889 					}
890 				}
891 				public static VisualStyleElement RightHot {
892 					get {
893 						return VisualStyleElement.CreateElement (
894 							SCROLLBAR,
895 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
896 							(int)ARROWBTNSTATES.ABS_RIGHTHOT);
897 					}
898 				}
899 				public static VisualStyleElement RightNormal {
900 					get {
901 						return VisualStyleElement.CreateElement (
902 							SCROLLBAR,
903 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
904 							(int)ARROWBTNSTATES.ABS_RIGHTNORMAL);
905 					}
906 				}
907 				public static VisualStyleElement RightPressed {
908 					get {
909 						return VisualStyleElement.CreateElement (
910 							SCROLLBAR,
911 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
912 							(int)ARROWBTNSTATES.ABS_RIGHTPRESSED);
913 					}
914 				}
915 				public static VisualStyleElement UpDisabled {
916 					get {
917 						return VisualStyleElement.CreateElement (
918 							SCROLLBAR,
919 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
920 							(int)ARROWBTNSTATES.ABS_UPDISABLED);
921 					}
922 				}
923 				public static VisualStyleElement UpHot {
924 					get {
925 						return VisualStyleElement.CreateElement (
926 							SCROLLBAR,
927 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
928 							(int)ARROWBTNSTATES.ABS_UPHOT);
929 					}
930 				}
931 				public static VisualStyleElement UpNormal {
932 					get {
933 						return VisualStyleElement.CreateElement (
934 							SCROLLBAR,
935 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
936 							(int)ARROWBTNSTATES.ABS_UPNORMAL);
937 					}
938 				}
939 				public static VisualStyleElement UpPressed {
940 					get {
941 						return VisualStyleElement.CreateElement (
942 							SCROLLBAR,
943 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
944 							(int)ARROWBTNSTATES.ABS_UPPRESSED);
945 					}
946 				}
947 				internal static VisualStyleElement DownHover {
948 					get {
949 						return new VisualStyleElement (
950 							SCROLLBAR,
951 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
952 							(int)ARROWBTNSTATES.ABS_DOWNHOVER);
953 					}
954 				}
955 				internal static VisualStyleElement LeftHover {
956 					get {
957 						return new VisualStyleElement (
958 							SCROLLBAR,
959 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
960 							(int)ARROWBTNSTATES.ABS_LEFTHOVER);
961 					}
962 				}
963 				internal static VisualStyleElement RightHover {
964 					get {
965 						return new VisualStyleElement (
966 							SCROLLBAR,
967 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
968 							(int)ARROWBTNSTATES.ABS_RIGHTHOVER);
969 					}
970 				}
971 				internal static VisualStyleElement UpHover {
972 					get {
973 						return new VisualStyleElement (
974 							SCROLLBAR,
975 							(int)SCROLLBARPARTS.SBP_ARROWBTN,
976 							(int)ARROWBTNSTATES.ABS_UPHOVER);
977 					}
978 				}
979 			}
980 			public static class GripperHorizontal
981 			{
982 				public static VisualStyleElement Normal {
983 					get {
984 						return VisualStyleElement.CreateElement (
985 							SCROLLBAR,
986 							(int)SCROLLBARPARTS.SBP_GRIPPERHORZ,
987 							0);
988 					}
989 				}
990 			}
991 			public static class GripperVertical
992 			{
993 				public static VisualStyleElement Normal {
994 					get {
995 						return VisualStyleElement.CreateElement (
996 							VisualStyleElement.SCROLLBAR,
997 							(int)SCROLLBARPARTS.SBP_GRIPPERVERT,
998 							0);
999 					}
1000 				}
1001 			}
1002 			public static class LeftTrackHorizontal
1003 			{
1004 				public static VisualStyleElement Disabled {
1005 					get {
1006 						return VisualStyleElement.CreateElement (
1007 							SCROLLBAR,
1008 							(int)SCROLLBARPARTS.SBP_UPPERTRACKHORZ,
1009 							(int)SCROLLBARSTYLESTATES.SCRBS_DISABLED);
1010 					}
1011 				}
1012 				public static VisualStyleElement Hot {
1013 					get {
1014 						return VisualStyleElement.CreateElement (
1015 							SCROLLBAR,
1016 							(int)SCROLLBARPARTS.SBP_UPPERTRACKHORZ,
1017 							(int)SCROLLBARSTYLESTATES.SCRBS_HOT);
1018 					}
1019 				}
1020 				public static VisualStyleElement Normal {
1021 					get {
1022 						return VisualStyleElement.CreateElement (
1023 							SCROLLBAR,
1024 							(int)SCROLLBARPARTS.SBP_UPPERTRACKHORZ,
1025 							(int)SCROLLBARSTYLESTATES.SCRBS_NORMAL);
1026 					}
1027 				}
1028 				public static VisualStyleElement Pressed {
1029 					get {
1030 						return VisualStyleElement.CreateElement (
1031 							SCROLLBAR,
1032 							(int)SCROLLBARPARTS.SBP_UPPERTRACKHORZ,
1033 							(int)SCROLLBARSTYLESTATES.SCRBS_PRESSED);
1034 					}
1035 				}
1036 			}
1037 			public static class LowerTrackVertical
1038 			{
1039 				public static VisualStyleElement Disabled {
1040 					get {
1041 						return VisualStyleElement.CreateElement (
1042 							SCROLLBAR,
1043 							(int)SCROLLBARPARTS.SBP_LOWERTRACKVERT,
1044 							(int)SCROLLBARSTYLESTATES.SCRBS_DISABLED);
1045 					}
1046 				}
1047 				public static VisualStyleElement Hot {
1048 					get {
1049 						return VisualStyleElement.CreateElement (
1050 							SCROLLBAR,
1051 							(int)SCROLLBARPARTS.SBP_LOWERTRACKVERT,
1052 							(int)SCROLLBARSTYLESTATES.SCRBS_HOT);
1053 					}
1054 				}
1055 				public static VisualStyleElement Normal {
1056 					get {
1057 						return VisualStyleElement.CreateElement (
1058 							SCROLLBAR,
1059 							(int)SCROLLBARPARTS.SBP_LOWERTRACKVERT,
1060 							(int)SCROLLBARSTYLESTATES.SCRBS_NORMAL);
1061 					}
1062 				}
1063 				public static VisualStyleElement Pressed {
1064 					get {
1065 						return VisualStyleElement.CreateElement (
1066 							SCROLLBAR,
1067 							(int)SCROLLBARPARTS.SBP_LOWERTRACKVERT,
1068 							(int)SCROLLBARSTYLESTATES.SCRBS_PRESSED);
1069 					}
1070 				}
1071 			}
1072 			public static class RightTrackHorizontal
1073 			{
1074 				public static VisualStyleElement Disabled {
1075 					get {
1076 						return VisualStyleElement.CreateElement (
1077 							SCROLLBAR,
1078 							(int)SCROLLBARPARTS.SBP_LOWERTRACKHORZ,
1079 							(int)SCROLLBARSTYLESTATES.SCRBS_DISABLED);
1080 					}
1081 				}
1082 				public static VisualStyleElement Hot {
1083 					get {
1084 						return VisualStyleElement.CreateElement (
1085 							SCROLLBAR,
1086 							(int)SCROLLBARPARTS.SBP_LOWERTRACKHORZ,
1087 							(int)SCROLLBARSTYLESTATES.SCRBS_HOT);
1088 					}
1089 				}
1090 				public static VisualStyleElement Normal {
1091 					get {
1092 						return VisualStyleElement.CreateElement (
1093 							SCROLLBAR,
1094 							(int)SCROLLBARPARTS.SBP_LOWERTRACKHORZ,
1095 							(int)SCROLLBARSTYLESTATES.SCRBS_NORMAL);
1096 					}
1097 				}
1098 				public static VisualStyleElement Pressed {
1099 					get {
1100 						return VisualStyleElement.CreateElement (
1101 							SCROLLBAR,
1102 							(int)SCROLLBARPARTS.SBP_LOWERTRACKHORZ,
1103 							(int)SCROLLBARSTYLESTATES.SCRBS_PRESSED);
1104 					}
1105 				}
1106 			}
1107 			public static class SizeBox
1108 			{
1109 				public static VisualStyleElement LeftAlign {
1110 					get {
1111 						return VisualStyleElement.CreateElement (
1112 							SCROLLBAR,
1113 							(int)SCROLLBARPARTS.SBP_SIZEBOX,
1114 							(int)SIZEBOXSTATES.SZB_LEFTALIGN);
1115 					}
1116 				}
1117 				public static VisualStyleElement RightAlign {
1118 					get {
1119 						return VisualStyleElement.CreateElement (
1120 							SCROLLBAR,
1121 							(int)SCROLLBARPARTS.SBP_SIZEBOX,
1122 							(int)SIZEBOXSTATES.SZB_RIGHTALIGN);
1123 					}
1124 				}
1125 			}
1126 			public static class ThumbButtonHorizontal
1127 			{
1128 				public static VisualStyleElement Disabled {
1129 					get {
1130 						return VisualStyleElement.CreateElement (
1131 							SCROLLBAR,
1132 							(int)SCROLLBARPARTS.SBP_THUMBBTNHORZ,
1133 							(int)SCROLLBARSTYLESTATES.SCRBS_DISABLED);
1134 					}
1135 				}
1136 				public static VisualStyleElement Hot {
1137 					get {
1138 						return VisualStyleElement.CreateElement (
1139 							SCROLLBAR,
1140 							(int)SCROLLBARPARTS.SBP_THUMBBTNHORZ,
1141 							(int)SCROLLBARSTYLESTATES.SCRBS_HOT);
1142 					}
1143 				}
1144 				public static VisualStyleElement Normal {
1145 					get {
1146 						return VisualStyleElement.CreateElement (
1147 							SCROLLBAR,
1148 							(int)SCROLLBARPARTS.SBP_THUMBBTNHORZ,
1149 							1);
1150 					}
1151 				}
1152 				public static VisualStyleElement Pressed {
1153 					get {
1154 						return VisualStyleElement.CreateElement (
1155 							SCROLLBAR,
1156 							(int)SCROLLBARPARTS.SBP_THUMBBTNHORZ,
1157 							(int)SCROLLBARSTYLESTATES.SCRBS_PRESSED);
1158 					}
1159 				}
1160 			}
1161 			public static class ThumbButtonVertical
1162 			{
1163 				public static VisualStyleElement Disabled {
1164 					get {
1165 						return VisualStyleElement.CreateElement (
1166 							SCROLLBAR,
1167 							(int)SCROLLBARPARTS.SBP_THUMBBTNVERT,
1168 							(int)SCROLLBARSTYLESTATES.SCRBS_DISABLED);
1169 					}
1170 				}
1171 				public static VisualStyleElement Hot {
1172 					get {
1173 						return VisualStyleElement.CreateElement (
1174 							SCROLLBAR,
1175 							(int)SCROLLBARPARTS.SBP_THUMBBTNVERT,
1176 							(int)SCROLLBARSTYLESTATES.SCRBS_HOT);
1177 					}
1178 				}
1179 				public static VisualStyleElement Normal {
1180 					get {
1181 						return VisualStyleElement.CreateElement (
1182 							SCROLLBAR,
1183 							(int)SCROLLBARPARTS.SBP_THUMBBTNVERT,
1184 							(int)SCROLLBARSTYLESTATES.SCRBS_NORMAL);
1185 					}
1186 				}
1187 				public static VisualStyleElement Pressed {
1188 					get {
1189 						return VisualStyleElement.CreateElement (
1190 							SCROLLBAR,
1191 							(int)SCROLLBARPARTS.SBP_THUMBBTNVERT,
1192 							(int)SCROLLBARSTYLESTATES.SCRBS_PRESSED);
1193 					}
1194 				}
1195 			}
1196 			public static class UpperTrackVertical
1197 			{
1198 				public static VisualStyleElement Disabled {
1199 					get {
1200 						return VisualStyleElement.CreateElement (
1201 							SCROLLBAR,
1202 							(int)SCROLLBARPARTS.SBP_UPPERTRACKVERT,
1203 							(int)SCROLLBARSTYLESTATES.SCRBS_DISABLED);
1204 					}
1205 				}
1206 				public static VisualStyleElement Hot {
1207 					get {
1208 						return VisualStyleElement.CreateElement (
1209 							SCROLLBAR,
1210 							(int)SCROLLBARPARTS.SBP_UPPERTRACKVERT,
1211 							(int)SCROLLBARSTYLESTATES.SCRBS_HOT);
1212 					}
1213 				}
1214 				public static VisualStyleElement Normal {
1215 					get {
1216 						return VisualStyleElement.CreateElement (
1217 							SCROLLBAR,
1218 							(int)SCROLLBARPARTS.SBP_UPPERTRACKVERT,
1219 							(int)SCROLLBARSTYLESTATES.SCRBS_NORMAL);
1220 					}
1221 				}
1222 				public static VisualStyleElement Pressed {
1223 					get {
1224 						return VisualStyleElement.CreateElement (
1225 							SCROLLBAR,
1226 							(int)SCROLLBARPARTS.SBP_UPPERTRACKVERT,
1227 							(int)SCROLLBARSTYLESTATES.SCRBS_PRESSED);
1228 					}
1229 				}
1230 			}
1231 		}
1232 		#endregion
1233 		#region Spin
1234 		public static class Spin
1235 		{
1236 			public static class Down
1237 			{
1238 				public static VisualStyleElement Disabled {
1239 					get {
1240 						return VisualStyleElement.CreateElement (
1241 							SPIN,
1242 							(int)SPINPARTS.SPNP_DOWN,
1243 							(int)DOWNSTATES.DNS_DISABLED);
1244 					}
1245 				}
1246 				public static VisualStyleElement Hot {
1247 					get {
1248 						return VisualStyleElement.CreateElement (
1249 							SPIN,
1250 							(int)SPINPARTS.SPNP_DOWN,
1251 							(int)DOWNSTATES.DNS_HOT);
1252 					}
1253 				}
1254 				public static VisualStyleElement Normal {
1255 					get {
1256 						return VisualStyleElement.CreateElement (
1257 							SPIN,
1258 							(int)SPINPARTS.SPNP_DOWN,
1259 							(int)DOWNSTATES.DNS_NORMAL);
1260 					}
1261 				}
1262 				public static VisualStyleElement Pressed {
1263 					get {
1264 						return VisualStyleElement.CreateElement (
1265 							SPIN,
1266 							(int)SPINPARTS.SPNP_DOWN,
1267 							(int)DOWNSTATES.DNS_PRESSED);
1268 					}
1269 				}
1270 			}
1271 			public static class DownHorizontal
1272 			{
1273 				public static VisualStyleElement Disabled {
1274 					get {
1275 						return VisualStyleElement.CreateElement (
1276 							SPIN,
1277 							(int)SPINPARTS.SPNP_DOWNHORZ,
1278 							(int)DOWNHORZSTATES.DNHZS_DISABLED);
1279 					}
1280 				}
1281 				public static VisualStyleElement Hot {
1282 					get {
1283 						return VisualStyleElement.CreateElement (
1284 							SPIN,
1285 							(int)SPINPARTS.SPNP_DOWNHORZ,
1286 							(int)DOWNHORZSTATES.DNHZS_HOT);
1287 					}
1288 				}
1289 				public static VisualStyleElement Normal {
1290 					get {
1291 						return VisualStyleElement.CreateElement (
1292 							SPIN,
1293 							(int)SPINPARTS.SPNP_DOWNHORZ,
1294 							(int)DOWNHORZSTATES.DNHZS_NORMAL);
1295 					}
1296 				}
1297 				public static VisualStyleElement Pressed {
1298 					get {
1299 						return VisualStyleElement.CreateElement (
1300 							SPIN,
1301 							(int)SPINPARTS.SPNP_DOWNHORZ,
1302 							(int)DOWNHORZSTATES.DNHZS_PRESSED);
1303 					}
1304 				}
1305 			}
1306 			public static class Up
1307 			{
1308 				public static VisualStyleElement Disabled {
1309 					get {
1310 						return VisualStyleElement.CreateElement (
1311 							SPIN,
1312 							(int)SPINPARTS.SPNP_UP,
1313 							(int)UPSTATES.UPS_DISABLED);
1314 					}
1315 				}
1316 				public static VisualStyleElement Hot {
1317 					get {
1318 						return VisualStyleElement.CreateElement (
1319 							SPIN,
1320 							(int)SPINPARTS.SPNP_UP,
1321 							(int)UPSTATES.UPS_HOT);
1322 					}
1323 				}
1324 				public static VisualStyleElement Normal {
1325 					get {
1326 						return VisualStyleElement.CreateElement (
1327 							SPIN,
1328 							(int)SPINPARTS.SPNP_UP,
1329 							(int)UPSTATES.UPS_NORMAL);
1330 					}
1331 				}
1332 				public static VisualStyleElement Pressed {
1333 					get {
1334 						return VisualStyleElement.CreateElement (
1335 							SPIN,
1336 							(int)SPINPARTS.SPNP_UP,
1337 							(int)UPSTATES.UPS_PRESSED);
1338 					}
1339 				}
1340 			}
1341 			public static class UpHorizontal
1342 			{
1343 				public static VisualStyleElement Disabled {
1344 					get {
1345 						return VisualStyleElement.CreateElement (
1346 							SPIN,
1347 							(int)SPINPARTS.SPNP_UPHORZ,
1348 							(int)UPHORZSTATES.UPHZS_DISABLED);
1349 					}
1350 				}
1351 				public static VisualStyleElement Hot {
1352 					get {
1353 						return VisualStyleElement.CreateElement (
1354 							SPIN,
1355 							(int)SPINPARTS.SPNP_UPHORZ,
1356 							(int)UPHORZSTATES.UPHZS_HOT);
1357 					}
1358 				}
1359 				public static VisualStyleElement Normal {
1360 					get {
1361 						return VisualStyleElement.CreateElement (
1362 							SPIN,
1363 							(int)SPINPARTS.SPNP_UPHORZ,
1364 							(int)UPHORZSTATES.UPHZS_NORMAL);
1365 					}
1366 				}
1367 				public static VisualStyleElement Pressed {
1368 					get {
1369 						return VisualStyleElement.CreateElement (
1370 							SPIN,
1371 							(int)SPINPARTS.SPNP_UPHORZ,
1372 							(int)UPHORZSTATES.UPHZS_PRESSED);
1373 					}
1374 				}
1375 			}
1376 		}
1377 		#endregion
1378 		#region StartPanel
1379 		public static class StartPanel
1380 		{
1381 			public static class LogOff
1382 			{
1383 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 8, 0); } }
1384 			}
1385 			public static class LogOffButtons
1386 			{
1387 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 9, 2); } }
1388 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 9, 1); } }
1389 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 9, 3); } }
1390 			}
1391 			public static class MorePrograms
1392 			{
1393 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 2, 0); } }
1394 			}
1395 			public static class MoreProgramsArrow
1396 			{
1397 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 3, 2); } }
1398 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 3, 1); } }
1399 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 3, 3); } }
1400 			}
1401 			public static class PlaceList
1402 			{
1403 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 6, 0); } }
1404 			}
1405 			public static class PlaceListSeparator
1406 			{
1407 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 7, 0); } }
1408 			}
1409 			public static class Preview
1410 			{
1411 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 11, 0); } }
1412 			}
1413 			public static class ProgList
1414 			{
1415 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 4, 0); } }
1416 			}
1417 			public static class ProgListSeparator
1418 			{
1419 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 5, 0); } }
1420 			}
1421 			public static class UserPane
1422 			{
1423 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 1, 0); } }
1424 			}
1425 			public static class UserPicture
1426 			{
1427 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STARTPANEL, 10, 0); } }
1428 			}
1429 		}
1430 		#endregion
1431 		#region Status
1432 		public static class Status
1433 		{
1434 			public static class Bar
1435 			{
1436 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STATUS, 0, 0); } }
1437 			}
1438 			public static class Gripper
1439 			{
1440 				public static VisualStyleElement Normal {
1441 					get {
1442 						return VisualStyleElement.CreateElement (
1443 							STATUS,
1444 							(int)STATUSPARTS.SP_GRIPPER,
1445 							0);
1446 					}
1447 				}
1448 			}
1449 			public static class GripperPane
1450 			{
1451 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STATUS, 2, 0); } }
1452 			}
1453 			public static class Pane
1454 			{
1455 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.STATUS, 1, 0); } }
1456 			}
1457 		}
1458 		#endregion
1459 		#region Tab
1460 		public static class Tab
1461 		{
1462 			public static class Body
1463 			{
1464 				public static VisualStyleElement Normal {
1465 					get {
1466 						return VisualStyleElement.CreateElement (
1467 							TAB,
1468 							(int)TABPARTS.TABP_BODY,
1469 							0);
1470 					}
1471 				}
1472 			}
1473 			public static class Pane
1474 			{
1475 				public static VisualStyleElement Normal {
1476 					get {
1477 						return VisualStyleElement.CreateElement (
1478 							TAB,
1479 							(int)TABPARTS.TABP_PANE,
1480 							0);
1481 					}
1482 				}
1483 			}
1484 			public static class TabItem
1485 			{
1486 				public static VisualStyleElement Disabled {
1487 					get {
1488 						return VisualStyleElement.CreateElement (
1489 							TAB,
1490 							(int)TABPARTS.TABP_TABITEM,
1491 							(int)TABITEMSTATES.TIS_DISABLED);
1492 					}
1493 				}
1494 				public static VisualStyleElement Hot {
1495 					get {
1496 						return VisualStyleElement.CreateElement (
1497 							TAB,
1498 							(int)TABPARTS.TABP_TABITEM,
1499 							(int)TABITEMSTATES.TIS_HOT);
1500 					}
1501 				}
1502 				public static VisualStyleElement Normal {
1503 					get {
1504 						return VisualStyleElement.CreateElement (
1505 							TAB,
1506 							(int)TABPARTS.TABP_TABITEM,
1507 							(int)TABITEMSTATES.TIS_NORMAL);
1508 					}
1509 				}
1510 				public static VisualStyleElement Pressed {
1511 					get {
1512 						return VisualStyleElement.CreateElement (
1513 							TAB,
1514 							(int)TABPARTS.TABP_TABITEM,
1515 							(int)TABITEMSTATES.TIS_SELECTED);
1516 					}
1517 				}
1518 			}
1519 			public static class TabItemBothEdges
1520 			{
1521 				public static VisualStyleElement Normal {
1522 					get {
1523 						return VisualStyleElement.CreateElement (
1524 							TAB,
1525 							(int)TABPARTS.TABP_TABITEMBOTHEDGE,
1526 							0);
1527 					}
1528 				}
1529 			}
1530 			public static class TabItemLeftEdge
1531 			{
1532 				public static VisualStyleElement Disabled {
1533 					get {
1534 						return VisualStyleElement.CreateElement (
1535 							TAB,
1536 							(int)TABPARTS.TABP_TABITEMLEFTEDGE,
1537 							(int)TABITEMLEFTEDGESTATES.TILES_DISABLED);
1538 					}
1539 				}
1540 				public static VisualStyleElement Hot {
1541 					get {
1542 						return VisualStyleElement.CreateElement (
1543 							TAB,
1544 							(int)TABPARTS.TABP_TABITEMLEFTEDGE,
1545 							(int)TABITEMLEFTEDGESTATES.TILES_HOT);
1546 					}
1547 				}
1548 				public static VisualStyleElement Normal {
1549 					get {
1550 						return VisualStyleElement.CreateElement (
1551 							TAB,
1552 							(int)TABPARTS.TABP_TABITEMLEFTEDGE,
1553 							(int)TABITEMLEFTEDGESTATES.TILES_NORMAL);
1554 					}
1555 				}
1556 				public static VisualStyleElement Pressed {
1557 					get {
1558 						return VisualStyleElement.CreateElement (
1559 							TAB,
1560 							(int)TABPARTS.TABP_TABITEMLEFTEDGE,
1561 							(int)TABITEMLEFTEDGESTATES.TILES_SELECTED);
1562 					}
1563 				}
1564 			}
1565 			public static class TabItemRightEdge
1566 			{
1567 				public static VisualStyleElement Disabled {
1568 					get {
1569 						return VisualStyleElement.CreateElement (
1570 							TAB,
1571 							(int)TABPARTS.TABP_TABITEMRIGHTEDGE,
1572 							(int)TABITEMRIGHTEDGESTATES.TIRES_DISABLED);
1573 					}
1574 				}
1575 				public static VisualStyleElement Hot {
1576 					get {
1577 						return VisualStyleElement.CreateElement (
1578 							TAB,
1579 							(int)TABPARTS.TABP_TABITEMRIGHTEDGE,
1580 							(int)TABITEMRIGHTEDGESTATES.TIRES_HOT);
1581 					}
1582 				}
1583 				public static VisualStyleElement Normal {
1584 					get {
1585 						return VisualStyleElement.CreateElement (
1586 							TAB,
1587 							(int)TABPARTS.TABP_TABITEMRIGHTEDGE,
1588 							(int)TABITEMRIGHTEDGESTATES.TIRES_NORMAL);
1589 					}
1590 				}
1591 				public static VisualStyleElement Pressed {
1592 					get {
1593 						return VisualStyleElement.CreateElement (
1594 							TAB,
1595 							(int)TABPARTS.TABP_TABITEMRIGHTEDGE,
1596 							(int)TABITEMRIGHTEDGESTATES.TIRES_SELECTED);
1597 					}
1598 				}
1599 			}
1600 			public static class TopTabItem
1601 			{
1602 				public static VisualStyleElement Disabled {
1603 					get {
1604 						return VisualStyleElement.CreateElement (
1605 							TAB,
1606 							(int)TABPARTS.TABP_TOPTABITEM,
1607 							(int)TOPTABITEMSTATES.TTIS_DISABLED);
1608 					}
1609 				}
1610 				public static VisualStyleElement Hot {
1611 					get {
1612 						return VisualStyleElement.CreateElement (
1613 							TAB,
1614 							(int)TABPARTS.TABP_TOPTABITEM,
1615 							(int)TOPTABITEMSTATES.TTIS_HOT);
1616 					}
1617 				}
1618 				public static VisualStyleElement Normal {
1619 					get {
1620 						return VisualStyleElement.CreateElement (
1621 							TAB,
1622 							(int)TABPARTS.TABP_TOPTABITEM,
1623 							(int)TOPTABITEMSTATES.TTIS_NORMAL);
1624 					}
1625 				}
1626 				public static VisualStyleElement Pressed {
1627 					get {
1628 						return VisualStyleElement.CreateElement (
1629 							TAB,
1630 							(int)TABPARTS.TABP_TOPTABITEM,
1631 							(int)TOPTABITEMSTATES.TTIS_SELECTED);
1632 					}
1633 				}
1634 			}
1635 			public static class TopTabItemBothEdges
1636 			{
1637 				public static VisualStyleElement Normal {
1638 					get {
1639 						return VisualStyleElement.CreateElement (
1640 							TAB,
1641 							(int)TABPARTS.TABP_TOPTABITEMBOTHEDGE,
1642 							0);
1643 					}
1644 				}
1645 			}
1646 			public static class TopTabItemLeftEdge
1647 			{
1648 				public static VisualStyleElement Disabled {
1649 					get {
1650 						return VisualStyleElement.CreateElement (
1651 							TAB,
1652 							(int)TABPARTS.TABP_TOPTABITEMLEFTEDGE,
1653 							(int)TOPTABITEMLEFTEDGESTATES.TTILES_DISABLED);
1654 					}
1655 				}
1656 				public static VisualStyleElement Hot {
1657 					get {
1658 						return VisualStyleElement.CreateElement (
1659 							TAB,
1660 							(int)TABPARTS.TABP_TOPTABITEMLEFTEDGE,
1661 							(int)TOPTABITEMLEFTEDGESTATES.TTILES_HOT);
1662 					}
1663 				}
1664 				public static VisualStyleElement Normal {
1665 					get {
1666 						return VisualStyleElement.CreateElement (
1667 							TAB,
1668 							(int)TABPARTS.TABP_TOPTABITEMLEFTEDGE,
1669 							(int)TOPTABITEMLEFTEDGESTATES.TTILES_NORMAL);
1670 					}
1671 				}
1672 				public static VisualStyleElement Pressed {
1673 					get {
1674 						return VisualStyleElement.CreateElement (
1675 							TAB,
1676 							(int)TABPARTS.TABP_TOPTABITEMLEFTEDGE,
1677 							(int)TOPTABITEMLEFTEDGESTATES.TTILES_SELECTED);
1678 					}
1679 				}
1680 			}
1681 			public static class TopTabItemRightEdge
1682 			{
1683 				public static VisualStyleElement Disabled {
1684 					get {
1685 						return VisualStyleElement.CreateElement (
1686 							TAB,
1687 							(int)TABPARTS.TABP_TOPTABITEMRIGHTEDGE,
1688 							(int)TOPTABITEMRIGHTEDGESTATES.TTIRES_DISABLED);
1689 					}
1690 				}
1691 				public static VisualStyleElement Hot {
1692 					get {
1693 						return VisualStyleElement.CreateElement (
1694 							TAB,
1695 							(int)TABPARTS.TABP_TOPTABITEMRIGHTEDGE,
1696 							(int)TOPTABITEMRIGHTEDGESTATES.TTIRES_HOT);
1697 					}
1698 				}
1699 				public static VisualStyleElement Normal {
1700 					get {
1701 						return VisualStyleElement.CreateElement (
1702 							TAB,
1703 							(int)TABPARTS.TABP_TOPTABITEMRIGHTEDGE,
1704 							(int)TOPTABITEMRIGHTEDGESTATES.TTIRES_NORMAL);
1705 					}
1706 				}
1707 				public static VisualStyleElement Pressed {
1708 					get {
1709 						return VisualStyleElement.CreateElement (
1710 							TAB,
1711 							(int)TABPARTS.TABP_TOPTABITEMRIGHTEDGE,
1712 							(int)TOPTABITEMRIGHTEDGESTATES.TTIRES_SELECTED);
1713 					}
1714 				}
1715 			}
1716 		}
1717 		#endregion
1718 		#region TaskBand
1719 		public static class TaskBand
1720 		{
1721 			public static class FlashButton
1722 			{
1723 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAND, 2, 0); } }
1724 			}
1725 			public static class FlashButtonGroupMenu
1726 			{
1727 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAND, 3, 0); } }
1728 			}
1729 			public static class GroupCount
1730 			{
1731 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAND, 1, 0); } }
1732 			}
1733 		}
1734 		#endregion
1735 		#region TaskBar
1736 		public static class Taskbar
1737 		{
1738 			public static class BackgroundBottom
1739 			{
1740 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAR, 1, 0); } }
1741 			}
1742 			public static class BackgroundLeft
1743 			{
1744 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAR, 4, 0); } }
1745 			}
1746 			public static class BackgroundRight
1747 			{
1748 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAR, 2, 0); } }
1749 			}
1750 			public static class BackgroundTop
1751 			{
1752 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAR, 3, 0); } }
1753 			}
1754 			public static class SizingBarBottom
1755 			{
1756 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAR, 5, 0); } }
1757 			}
1758 			public static class SizingBarLeft
1759 			{
1760 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAR, 8, 0); } }
1761 			}
1762 			public static class SizingBarRight
1763 			{
1764 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAR, 6, 0); } }
1765 			}
1766 			public static class SizingBarTop
1767 			{
1768 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TASKBAR, 7, 0); } }
1769 			}
1770 		}
1771 		#endregion
1772 		#region TaskBarClock
1773 		public static class TaskbarClock
1774 		{
1775 			public static class Time
1776 			{
1777 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.CLOCK, 1, 1); } }
1778 			}
1779 		}
1780 		#endregion
1781 		#region TextBox
1782 		public static class TextBox
1783 		{
1784 			public static class Caret
1785 			{
1786 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.EDIT, 2, 0); } }
1787 			}
1788 			public static class TextEdit
1789 			{
1790 				public static VisualStyleElement Assist {
1791 					get {
1792 						return VisualStyleElement.CreateElement (
1793 							EDIT,
1794 							(int)EDITPARTS.EP_EDITTEXT,
1795 							(int)EDITTEXTSTATES.ETS_ASSIST);
1796 					}
1797 				}
1798 				public static VisualStyleElement Disabled {
1799 					get {
1800 						return VisualStyleElement.CreateElement (
1801 							EDIT,
1802 							(int)EDITPARTS.EP_EDITTEXT,
1803 							(int)EDITTEXTSTATES.ETS_DISABLED);
1804 					}
1805 				}
1806 				public static VisualStyleElement Focused {
1807 					get {
1808 						return VisualStyleElement.CreateElement (
1809 							EDIT,
1810 							(int)EDITPARTS.EP_EDITTEXT,
1811 							(int)EDITTEXTSTATES.ETS_FOCUSED);
1812 					}
1813 				}
1814 				public static VisualStyleElement Hot {
1815 					get {
1816 						return VisualStyleElement.CreateElement (
1817 							EDIT,
1818 							(int)EDITPARTS.EP_EDITTEXT,
1819 							(int)EDITTEXTSTATES.ETS_HOT);
1820 					}
1821 				}
1822 				public static VisualStyleElement Normal {
1823 					get {
1824 						return VisualStyleElement.CreateElement (
1825 							EDIT,
1826 							(int)EDITPARTS.EP_EDITTEXT,
1827 							(int)EDITTEXTSTATES.ETS_NORMAL);
1828 					}
1829 				}
1830 				public static VisualStyleElement ReadOnly {
1831 					get {
1832 						return VisualStyleElement.CreateElement (
1833 							EDIT,
1834 							(int)EDITPARTS.EP_EDITTEXT,
1835 							(int)EDITTEXTSTATES.ETS_READONLY);
1836 					}
1837 				}
1838 				public static VisualStyleElement Selected {
1839 					get {
1840 						return VisualStyleElement.CreateElement (
1841 							EDIT,
1842 							(int)EDITPARTS.EP_EDITTEXT,
1843 							(int)EDITTEXTSTATES.ETS_SELECTED);
1844 					}
1845 				}
1846 			}
1847 		}
1848 		#endregion
1849 		#region ToolBar
1850 		public static class ToolBar
1851 		{
1852 			public static class Button
1853 			{
1854 				public static VisualStyleElement Checked {
1855 					get {
1856 						return VisualStyleElement.CreateElement (
1857 							TOOLBAR,
1858 							(int)TOOLBARPARTS.TP_BUTTON,
1859 							(int)TOOLBARSTYLESTATES.TS_CHECKED);
1860 					}
1861 				}
1862 				public static VisualStyleElement Disabled {
1863 					get {
1864 						return VisualStyleElement.CreateElement (
1865 							TOOLBAR,
1866 							(int)TOOLBARPARTS.TP_BUTTON,
1867 							(int)TOOLBARSTYLESTATES.TS_DISABLED);
1868 					}
1869 				}
1870 				public static VisualStyleElement Hot {
1871 					get {
1872 						return VisualStyleElement.CreateElement (
1873 							TOOLBAR,
1874 							(int)TOOLBARPARTS.TP_BUTTON,
1875 							(int)TOOLBARSTYLESTATES.TS_HOT);
1876 					}
1877 				}
1878 				public static VisualStyleElement HotChecked {
1879 					get {
1880 						return VisualStyleElement.CreateElement (
1881 							TOOLBAR,
1882 							(int)TOOLBARPARTS.TP_BUTTON,
1883 							(int)TOOLBARSTYLESTATES.TS_HOTCHECKED);
1884 					}
1885 				}
1886 				public static VisualStyleElement Normal {
1887 					get {
1888 						return VisualStyleElement.CreateElement (
1889 							TOOLBAR,
1890 							(int)TOOLBARPARTS.TP_BUTTON,
1891 							(int)TOOLBARSTYLESTATES.TS_NORMAL);
1892 					}
1893 				}
1894 				public static VisualStyleElement Pressed {
1895 					get {
1896 						return VisualStyleElement.CreateElement (
1897 							TOOLBAR,
1898 							(int)TOOLBARPARTS.TP_BUTTON,
1899 							(int)TOOLBARSTYLESTATES.TS_PRESSED);
1900 					}
1901 				}
1902 			}
1903 			public static class DropDownButton
1904 			{
1905 				public static VisualStyleElement Checked { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 2, 5); } }
1906 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 2, 4); } }
1907 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 2, 2); } }
1908 				public static VisualStyleElement HotChecked { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 2, 6); } }
1909 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 2, 1); } }
1910 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 2, 3); } }
1911 			}
1912 			public static class SeparatorHorizontal
1913 			{
1914 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 5, 0); } }
1915 			}
1916 			public static class SeparatorVertical
1917 			{
1918 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 6, 0); } }
1919 			}
1920 			public static class SplitButton
1921 			{
1922 				public static VisualStyleElement Checked { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 3, 5); } }
1923 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 3, 4); } }
1924 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 3, 2); } }
1925 				public static VisualStyleElement HotChecked { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 3, 6); } }
1926 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 3, 1); } }
1927 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 3, 3); } }
1928 			}
1929 			public static class SplitButtonDropDown
1930 			{
1931 				public static VisualStyleElement Checked { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 4, 5); } }
1932 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 4, 4); } }
1933 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 4, 2); } }
1934 				public static VisualStyleElement HotChecked { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 4, 6); } }
1935 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 4, 1); } }
1936 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLBAR, 4, 3); } }
1937 			}
1938 		}
1939 		#endregion
1940 		#region ToolTip
1941 		public static class ToolTip
1942 		{
1943 			public static class Balloon
1944 			{
1945 				public static VisualStyleElement Link { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 3, 2); } }
1946 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 3, 1); } }
1947 			}
1948 			public static class BalloonTitle
1949 			{
1950 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 4, 0); } }
1951 			}
1952 			public static class Close
1953 			{
1954 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 5, 2); } }
1955 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 5, 1); } }
1956 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 5, 3); } }
1957 			}
1958 			public static class Standard
1959 			{
1960 				public static VisualStyleElement Link { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 1, 2); } }
1961 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 1, 1); } }
1962 			}
1963 			public static class StandardTitle
1964 			{
1965 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TOOLTIP, 2, 0); } }
1966 			}
1967 		}
1968 		#endregion
1969 		#region TrackBar
1970 		public static class TrackBar
1971 		{
1972 			public static class Thumb
1973 			{
1974 				public static VisualStyleElement Disabled {
1975 					get {
1976 						return VisualStyleElement.CreateElement (
1977 							TRACKBAR,
1978 							(int)TRACKBARPARTS.TKP_THUMB,
1979 							(int)THUMBSTATES.TUS_DISABLED);
1980 					}
1981 				}
1982 				public static VisualStyleElement Focused {
1983 					get {
1984 						return VisualStyleElement.CreateElement (
1985 							TRACKBAR,
1986 							(int)TRACKBARPARTS.TKP_THUMB,
1987 							(int)THUMBSTATES.TUS_FOCUSED);
1988 					}
1989 				}
1990 				public static VisualStyleElement Hot {
1991 					get {
1992 						return VisualStyleElement.CreateElement (
1993 							TRACKBAR,
1994 							(int)TRACKBARPARTS.TKP_THUMB,
1995 							(int)THUMBSTATES.TUS_HOT);
1996 					}
1997 				}
1998 				public static VisualStyleElement Normal {
1999 					get {
2000 						return VisualStyleElement.CreateElement (
2001 							TRACKBAR,
2002 							(int)TRACKBARPARTS.TKP_THUMB,
2003 							(int)THUMBSTATES.TUS_NORMAL);
2004 					}
2005 				}
2006 				public static VisualStyleElement Pressed {
2007 					get {
2008 						return VisualStyleElement.CreateElement (
2009 							TRACKBAR,
2010 							(int)TRACKBARPARTS.TKP_THUMB,
2011 							(int)THUMBSTATES.TUS_PRESSED);
2012 					}
2013 				}
2014 			}
2015 			public static class ThumbBottom
2016 			{
2017 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 4, 5); } }
2018 				public static VisualStyleElement Focused { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 4, 4); } }
2019 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 4, 2); } }
2020 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 4, 1); } }
2021 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 4, 3); } }
2022 			}
2023 			public static class ThumbLeft
2024 			{
2025 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 7, 5); } }
2026 				public static VisualStyleElement Focused { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 7, 4); } }
2027 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 7, 2); } }
2028 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 7, 1); } }
2029 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 7, 3); } }
2030 			}
2031 			public static class ThumbRight
2032 			{
2033 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 8, 5); } }
2034 				public static VisualStyleElement Focused { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 8, 4); } }
2035 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 8, 2); } }
2036 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 8, 1); } }
2037 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 8, 3); } }
2038 			}
2039 			public static class ThumbTop
2040 			{
2041 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 5, 5); } }
2042 				public static VisualStyleElement Focused { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 5, 4); } }
2043 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 5, 2); } }
2044 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 5, 1); } }
2045 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 5, 3); } }
2046 			}
2047 			public static class ThumbVertical
2048 			{
2049 				public static VisualStyleElement Disabled {
2050 					get {
2051 						return VisualStyleElement.CreateElement (
2052 							TRACKBAR,
2053 							(int)TRACKBARPARTS.TKP_THUMBVERT,
2054 							(int)THUMBVERTSTATES.TUVS_DISABLED);
2055 					}
2056 				}
2057 				public static VisualStyleElement Focused {
2058 					get {
2059 						return VisualStyleElement.CreateElement (
2060 							TRACKBAR,
2061 							(int)TRACKBARPARTS.TKP_THUMBVERT,
2062 							(int)THUMBVERTSTATES.TUVS_FOCUSED);
2063 					}
2064 				}
2065 				public static VisualStyleElement Hot {
2066 					get {
2067 						return VisualStyleElement.CreateElement (
2068 							TRACKBAR,
2069 							(int)TRACKBARPARTS.TKP_THUMBVERT,
2070 							(int)THUMBVERTSTATES.TUVS_HOT);
2071 					}
2072 				}
2073 				public static VisualStyleElement Normal {
2074 					get {
2075 						return VisualStyleElement.CreateElement (
2076 							TRACKBAR,
2077 							(int)TRACKBARPARTS.TKP_THUMBVERT,
2078 							(int)THUMBVERTSTATES.TUVS_NORMAL);
2079 					}
2080 				}
2081 				public static VisualStyleElement Pressed {
2082 					get {
2083 						return VisualStyleElement.CreateElement (
2084 							TRACKBAR,
2085 							(int)TRACKBARPARTS.TKP_THUMBVERT,
2086 							(int)THUMBVERTSTATES.TUVS_PRESSED);
2087 					}
2088 				}
2089 			}
2090 			public static class Ticks
2091 			{
2092 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 9, 1); } }
2093 			}
2094 			public static class TicksVertical
2095 			{
2096 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRACKBAR, 10, 1); } }
2097 			}
2098 			public static class Track
2099 			{
2100 				public static VisualStyleElement Normal {
2101 					get {
2102 						return VisualStyleElement.CreateElement (
2103 							TRACKBAR,
2104 							(int)TRACKBARPARTS.TKP_TRACK,
2105 							(int)TRACKSTATES.TRS_NORMAL);
2106 					}
2107 				}
2108 			}
2109 			public static class TrackVertical
2110 			{
2111 				public static VisualStyleElement Normal {
2112 					get {
2113 						return VisualStyleElement.CreateElement (
2114 							TRACKBAR,
2115 							(int)TRACKBARPARTS.TKP_TRACKVERT,
2116 							(int)TRACKVERTSTATES.TRVS_NORMAL);
2117 					}
2118 				}
2119 			}
2120 		}
2121 		#endregion
2122 		#region TrayNotify
2123 		public static class TrayNotify
2124 		{
2125 			public static class AnimateBackground
2126 			{
2127 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRAYNOTIFY, 2, 0); } }
2128 			}
2129 			public static class Background
2130 			{
2131 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TRAYNOTIFY, 1, 0); } }
2132 			}
2133 		}
2134 		#endregion
2135 		#region TreeView
2136 		public static class TreeView
2137 		{
2138 			public static class Branch
2139 			{
2140 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TREEVIEW, 3, 0); } }
2141 			}
2142 			public static class Glyph
2143 			{
2144 				public static VisualStyleElement Closed {
2145 					get {
2146 						return VisualStyleElement.CreateElement (
2147 							TREEVIEW,
2148 							(int)TREEVIEWPARTS.TVP_GLYPH,
2149 							(int)GLYPHSTATES.GLPS_CLOSED);
2150 					}
2151 				}
2152 				public static VisualStyleElement Opened {
2153 					get {
2154 						return VisualStyleElement.CreateElement (
2155 							TREEVIEW,
2156 							(int)TREEVIEWPARTS.TVP_GLYPH,
2157 							(int)GLYPHSTATES.GLPS_OPENED);
2158 					}
2159 				}
2160 			}
2161 			public static class Item
2162 			{
2163 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.TREEVIEW, 1, 4); } }
2164 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.TREEVIEW, 1, 2); } }
2165 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.TREEVIEW, 1, 1); } }
2166 				public static VisualStyleElement Selected { get { return VisualStyleElement.CreateElement (VisualStyleElement.TREEVIEW, 1, 3); } }
2167 				public static VisualStyleElement SelectedNotFocus { get { return VisualStyleElement.CreateElement (VisualStyleElement.TREEVIEW, 1, 5); } }
2168 			}
2169 		}
2170 		#endregion
2171 		#region Window
2172 		public static class Window
2173 		{
2174 			public static class Caption
2175 			{
2176 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 1, 1); } }
2177 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 1, 3); } }
2178 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 1, 2); } }
2179 			}
2180 			public static class CaptionSizingTemplate
2181 			{
2182 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 30, 0); } }
2183 			}
2184 			public static class CloseButton
2185 			{
2186 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 18, 4); } }
2187 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 18, 2); } }
2188 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 18, 1); } }
2189 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 18, 3); } }
2190 			}
2191 			public static class Dialog
2192 			{
2193 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 29, 0); } }
2194 			}
2195 			public static class FrameBottom
2196 			{
2197 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 9, 1); } }
2198 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 9, 2); } }
2199 			}
2200 			public static class FrameBottomSizingTemplate
2201 			{
2202 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 36, 0); } }
2203 			}
2204 			public static class FrameLeft
2205 			{
2206 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 7, 1); } }
2207 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 7, 2); } }
2208 			}
2209 			public static class FrameLeftSizingTemplate
2210 			{
2211 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 32, 0); } }
2212 			}
2213 			public static class FrameRight
2214 			{
2215 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 8, 1); } }
2216 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 8, 2); } }
2217 			}
2218 			public static class FrameRightSizingTemplate
2219 			{
2220 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 34, 0); } }
2221 			}
2222 			public static class HelpButton
2223 			{
2224 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 23, 4); } }
2225 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 23, 2); } }
2226 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 23, 1); } }
2227 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 23, 3); } }
2228 			}
2229 			public static class HorizontalScroll
2230 			{
2231 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 25, 4); } }
2232 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 25, 2); } }
2233 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 25, 1); } }
2234 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 25, 3); } }
2235 			}
2236 			public static class HorizontalThumb
2237 			{
2238 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 26, 4); } }
2239 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 26, 2); } }
2240 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 26, 1); } }
2241 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 26, 3); } }
2242 			}
2243 			public static class MaxButton
2244 			{
2245 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 17, 4); } }
2246 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 17, 2); } }
2247 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 17, 1); } }
2248 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 17, 3); } }
2249 			}
2250 			public static class MaxCaption
2251 			{
2252 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 5, 1); } }
2253 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 5, 3); } }
2254 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 5, 2); } }
2255 			}
2256 			public static class MdiCloseButton
2257 			{
2258 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 20, 4); } }
2259 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 20, 2); } }
2260 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 20, 1); } }
2261 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 20, 3); } }
2262 			}
2263 			public static class MdiHelpButton
2264 			{
2265 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 24, 4); } }
2266 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 24, 2); } }
2267 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 24, 1); } }
2268 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 24, 3); } }
2269 			}
2270 			public static class MdiMinButton
2271 			{
2272 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 16, 4); } }
2273 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 16, 2); } }
2274 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 16, 1); } }
2275 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 16, 3); } }
2276 			}
2277 			public static class MdiRestoreButton
2278 			{
2279 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 22, 4); } }
2280 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 22, 2); } }
2281 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 22, 1); } }
2282 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 22, 3); } }
2283 			}
2284 			public static class MdiSysButton
2285 			{
2286 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 14, 4); } }
2287 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 14, 2); } }
2288 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 14, 1); } }
2289 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 14, 3); } }
2290 			}
2291 			public static class MinButton
2292 			{
2293 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 15, 4); } }
2294 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 15, 2); } }
2295 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 15, 1); } }
2296 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 15, 3); } }
2297 			}
2298 			public static class MinCaption
2299 			{
2300 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 3, 1); } }
2301 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 3, 3); } }
2302 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 3, 2); } }
2303 			}
2304 			public static class RestoreButton
2305 			{
2306 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 21, 4); } }
2307 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 21, 2); } }
2308 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 21, 1); } }
2309 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 21, 3); } }
2310 			}
2311 			public static class SmallCaption
2312 			{
2313 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 2, 1); } }
2314 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 2, 3); } }
2315 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 2, 2); } }
2316 			}
2317 			public static class SmallCaptionSizingTemplate
2318 			{
2319 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 31, 0); } }
2320 			}
2321 			public static class SmallCloseButton
2322 			{
2323 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 19, 4); } }
2324 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 19, 2); } }
2325 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 19, 1); } }
2326 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 19, 3); } }
2327 			}
2328 			public static class SmallFrameBottom
2329 			{
2330 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 12, 1); } }
2331 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 12, 2); } }
2332 			}
2333 			public static class SmallFrameBottomSizingTemplate
2334 			{
2335 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 37, 0); } }
2336 			}
2337 			public static class SmallFrameLeft
2338 			{
2339 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 10, 1); } }
2340 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 10, 2); } }
2341 			}
2342 			public static class SmallFrameLeftSizingTemplate
2343 			{
2344 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 33, 0); } }
2345 			}
2346 			public static class SmallFrameRight
2347 			{
2348 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 11, 1); } }
2349 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 11, 2); } }
2350 			}
2351 			public static class SmallFrameRightSizingTemplate
2352 			{
2353 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 35, 0); } }
2354 			}
2355 			public static class SmallMaxCaption
2356 			{
2357 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 6, 1); } }
2358 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 6, 3); } }
2359 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 6, 2); } }
2360 			}
2361 			public static class SmallMinCaption
2362 			{
2363 				public static VisualStyleElement Active { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 4, 1); } }
2364 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 4, 3); } }
2365 				public static VisualStyleElement Inactive { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 4, 2); } }
2366 			}
2367 			public static class SysButton
2368 			{
2369 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 13, 4); } }
2370 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 13, 2); } }
2371 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 13, 1); } }
2372 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 13, 3); } }
2373 			}
2374 			public static class VerticalScroll
2375 			{
2376 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 27, 4); } }
2377 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 27, 2); } }
2378 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 27, 1); } }
2379 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 27, 3); } }
2380 			}
2381 			public static class VerticalThumb
2382 			{
2383 				public static VisualStyleElement Disabled { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 28, 4); } }
2384 				public static VisualStyleElement Hot { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 28, 2); } }
2385 				public static VisualStyleElement Normal { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 28, 1); } }
2386 				public static VisualStyleElement Pressed { get { return VisualStyleElement.CreateElement (VisualStyleElement.WINDOW, 28, 3); } }
2387 			}
2388 		}
2389 		#endregion
2390 		#endregion
2391 	}
2392 	#region Part and state constants
2393 	#region BUTTON
2394 	enum BUTTONPARTS
2395 	{
2396 		BP_PUSHBUTTON = 1,
2397 		BP_RADIOBUTTON,
2398 		BP_CHECKBOX,
2399 		BP_GROUPBOX
2400 	}
2401 	enum PUSHBUTTONSTATES
2402 	{
2403 		PBS_NORMAL = 1,
2404 		PBS_HOT,
2405 		PBS_PRESSED,
2406 		PBS_DISABLED,
2407 		PBS_DEFAULTED
2408 	}
2409 	enum RADIOBUTTONSTATES
2410 	{
2411 		RBS_UNCHECKEDNORMAL = 1,
2412 		RBS_UNCHECKEDHOT,
2413 		RBS_UNCHECKEDPRESSED,
2414 		RBS_UNCHECKEDDISABLED,
2415 		RBS_CHECKEDNORMAL,
2416 		RBS_CHECKEDHOT,
2417 		RBS_CHECKEDPRESSED,
2418 		RBS_CHECKEDDISABLED
2419 	}
2420 	enum CHECKBOXSTATES
2421 	{
2422 		CBS_UNCHECKEDNORMAL = 1,
2423 		CBS_UNCHECKEDHOT,
2424 		CBS_UNCHECKEDPRESSED,
2425 		CBS_UNCHECKEDDISABLED,
2426 		CBS_CHECKEDNORMAL,
2427 		CBS_CHECKEDHOT,
2428 		CBS_CHECKEDPRESSED,
2429 		CBS_CHECKEDDISABLED,
2430 		CBS_MIXEDNORMAL,
2431 		CBS_MIXEDHOT,
2432 		CBS_MIXEDPRESSED,
2433 		CBS_MIXEDDISABLED
2434 	}
2435 	enum GROUPBOXSTATES
2436 	{
2437 		GBS_NORMAL = 1,
2438 		GBS_DISABLED
2439 	}
2440 	#endregion
2441 	#region COMBOXBOX
2442 	enum COMBOBOXPARTS
2443 	{
2444 		CP_DROPDOWNBUTTON = 1,
2445 		CP_BORDER = 4
2446 	}
2447 	enum COMBOBOXSTYLESTATES
2448 	{
2449 		CBXS_NORMAL = 1,
2450 		CBXS_HOT,
2451 		CBXS_PRESSED,
2452 		CBXS_DISABLED
2453 	}
2454 	enum BORDERSTATES
2455 	{
2456 		CBB_NORMAL = 1,
2457 		CBB_HOT,
2458 		CBB_FOCUSED,
2459 		CBB_DISABLED
2460 	}
2461 	#endregion
2462 	#region EDIT
2463 	enum EDITPARTS
2464 	{
2465 		EP_EDITTEXT = 1
2466 	}
2467 	enum EDITTEXTSTATES {
2468 		ETS_NORMAL = 1,
2469 		ETS_HOT,
2470 		ETS_SELECTED,
2471 		ETS_DISABLED,
2472 		ETS_FOCUSED,
2473 		ETS_READONLY,
2474 		ETS_ASSIST
2475 	}
2476 	#endregion
2477 	#region HEADER
2478 	enum HEADERPARTS
2479 	{
2480 		HP_HEADERITEM = 1
2481 	}
2482 	enum HEADERITEMSTATES
2483 	{
2484 		HIS_NORMAL = 1,
2485 		HIS_HOT,
2486 		HIS_PRESSED
2487 	}
2488 	#endregion
2489 	#region PROGRESS
2490 	enum PROGRESSPARTS
2491 	{
2492 		PP_BAR = 1,
2493 		PP_BARVERT,
2494 		PP_CHUNK,
2495 		PP_CHUNKVERT
2496 	}
2497 	#endregion
2498 	#region REBAR
2499 	enum REBARPARTS
2500 	{
2501 		RP_BAND = 3
2502 	}
2503 	#endregion
2504 	#region SCROLLBAR
2505 	enum SCROLLBARPARTS
2506 	{
2507 		SBP_ARROWBTN = 1,
2508 		SBP_THUMBBTNHORZ,
2509 		SBP_THUMBBTNVERT,
2510 		SBP_LOWERTRACKHORZ,
2511 		SBP_UPPERTRACKHORZ,
2512 		SBP_LOWERTRACKVERT,
2513 		SBP_UPPERTRACKVERT,
2514 		SBP_GRIPPERHORZ,
2515 		SBP_GRIPPERVERT,
2516 		SBP_SIZEBOX
2517 	}
2518 	enum ARROWBTNSTATES
2519 	{
2520 		ABS_UPNORMAL = 1,
2521 		ABS_UPHOT,
2522 		ABS_UPPRESSED,
2523 		ABS_UPDISABLED,
2524 		ABS_DOWNNORMAL,
2525 		ABS_DOWNHOT,
2526 		ABS_DOWNPRESSED,
2527 		ABS_DOWNDISABLED,
2528 		ABS_LEFTNORMAL,
2529 		ABS_LEFTHOT,
2530 		ABS_LEFTPRESSED,
2531 		ABS_LEFTDISABLED,
2532 		ABS_RIGHTNORMAL,
2533 		ABS_RIGHTHOT,
2534 		ABS_RIGHTPRESSED,
2535 		ABS_RIGHTDISABLED,
2536 		ABS_UPHOVER,
2537 		ABS_DOWNHOVER,
2538 		ABS_LEFTHOVER,
2539 		ABS_RIGHTHOVER
2540 	}
2541 	enum SCROLLBARSTYLESTATES
2542 	{
2543 		SCRBS_NORMAL = 1,
2544 		SCRBS_HOT,
2545 		SCRBS_PRESSED,
2546 		SCRBS_DISABLED
2547 	}
2548 	enum SIZEBOXSTATES
2549 	{
2550 		SZB_RIGHTALIGN = 1,
2551 		SZB_LEFTALIGN
2552 	}
2553 	#endregion
2554 	#region SPIN
2555 	enum SPINPARTS
2556 	{
2557 		SPNP_UP = 1,
2558 		SPNP_DOWN,
2559 		SPNP_UPHORZ,
2560 		SPNP_DOWNHORZ
2561 	}
2562 	enum UPSTATES
2563 	{
2564 		UPS_NORMAL = 1,
2565 		UPS_HOT,
2566 		UPS_PRESSED,
2567 		UPS_DISABLED
2568 	}
2569 	enum DOWNSTATES
2570 	{
2571 		DNS_NORMAL = 1,
2572 		DNS_HOT,
2573 		DNS_PRESSED,
2574 		DNS_DISABLED
2575 	}
2576 	enum UPHORZSTATES
2577 	{
2578 		UPHZS_NORMAL = 1,
2579 		UPHZS_HOT,
2580 		UPHZS_PRESSED,
2581 		UPHZS_DISABLED
2582 	}
2583 	enum DOWNHORZSTATES
2584 	{
2585 		DNHZS_NORMAL = 1,
2586 		DNHZS_HOT,
2587 		DNHZS_PRESSED,
2588 		DNHZS_DISABLED
2589 	}
2590 	#endregion
2591 	#region STATUS
2592 	enum STATUSPARTS
2593 	{
2594 		SP_GRIPPER = 3
2595 	}
2596 	#endregion
2597 	#region TAB
2598 	enum TABPARTS
2599 	{
2600 		TABP_TABITEM = 1,
2601 		TABP_TABITEMLEFTEDGE,
2602 		TABP_TABITEMRIGHTEDGE,
2603 		TABP_TABITEMBOTHEDGE,
2604 		TABP_TOPTABITEM,
2605 		TABP_TOPTABITEMLEFTEDGE,
2606 		TABP_TOPTABITEMRIGHTEDGE,
2607 		TABP_TOPTABITEMBOTHEDGE,
2608 		TABP_PANE,
2609 		TABP_BODY
2610 	}
2611 	enum TABITEMSTATES
2612 	{
2613 		TIS_NORMAL = 1,
2614 		TIS_HOT,
2615 		TIS_SELECTED,
2616 		TIS_DISABLED
2617 	}
2618 	enum TABITEMLEFTEDGESTATES
2619 	{
2620 		TILES_NORMAL = 1,
2621 		TILES_HOT,
2622 		TILES_SELECTED,
2623 		TILES_DISABLED
2624 	}
2625 	enum TABITEMRIGHTEDGESTATES
2626 	{
2627 		TIRES_NORMAL = 1,
2628 		TIRES_HOT,
2629 		TIRES_SELECTED,
2630 		TIRES_DISABLED
2631 	}
2632 	enum TOPTABITEMSTATES
2633 	{
2634 		TTIS_NORMAL = 1,
2635 		TTIS_HOT,
2636 		TTIS_SELECTED,
2637 		TTIS_DISABLED
2638 	}
2639 	enum TOPTABITEMLEFTEDGESTATES
2640 	{
2641 		TTILES_NORMAL = 1,
2642 		TTILES_HOT,
2643 		TTILES_SELECTED,
2644 		TTILES_DISABLED
2645 	}
2646 	enum TOPTABITEMRIGHTEDGESTATES
2647 	{
2648 		TTIRES_NORMAL = 1,
2649 		TTIRES_HOT,
2650 		TTIRES_SELECTED,
2651 		TTIRES_DISABLED
2652 	}
2653 	#endregion
2654 	#region TOOLBAR
2655 	enum TOOLBARPARTS
2656 	{
2657 		TP_BUTTON = 1
2658 	}
2659 	enum TOOLBARSTYLESTATES
2660 	{
2661 		TS_NORMAL = 1,
2662 		TS_HOT,
2663 		TS_PRESSED,
2664 		TS_DISABLED,
2665 		TS_CHECKED,
2666 		TS_HOTCHECKED
2667 	}
2668 	#endregion
2669 	#region TRACKBAR
2670 	enum TRACKBARPARTS
2671 	{
2672 		TKP_TRACK = 1,
2673 		TKP_TRACKVERT,
2674 		TKP_THUMB,
2675 		TKP_THUMBVERT = 6
2676 	}
2677 	enum TRACKSTATES
2678 	{
2679 		TRS_NORMAL = 1
2680 	}
2681 	enum TRACKVERTSTATES
2682 	{
2683 		TRVS_NORMAL = 1
2684 	}
2685 	enum THUMBSTATES
2686 	{
2687 		TUS_NORMAL = 1,
2688 		TUS_HOT,
2689 		TUS_PRESSED,
2690 		TUS_FOCUSED,
2691 		TUS_DISABLED
2692 	}
2693 	enum THUMBVERTSTATES
2694 	{
2695 		TUVS_NORMAL = 1,
2696 		TUVS_HOT,
2697 		TUVS_PRESSED,
2698 		TUVS_FOCUSED,
2699 		TUVS_DISABLED
2700 	}
2701 	#endregion
2702 	#region TREEVIEW
2703 	enum TREEVIEWPARTS
2704 	{
2705 		TVP_GLYPH = 2
2706 	}
2707 	enum GLYPHSTATES
2708 	{
2709 		GLPS_CLOSED = 1,
2710 		GLPS_OPENED
2711 	}
2712 	#endregion
2713 	#endregion
2714 }
2715