winform-controls.xml 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- WinForms Control Definitions for UI Layout Definition Format -->
  3. <patterns xmlns="ui-layout-patterns">
  4. <!-- Basic Display Controls -->
  5. <control name="Label" type="display" category="winforms-basic">
  6. <constraints>
  7. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  8. <allowed-children>none</allowed-children>
  9. <container>false</container>
  10. </constraints>
  11. <attributes>
  12. <attribute name="text" type="string" default="" />
  13. <attribute name="font" type="font" default="Microsoft Sans Serif, 8.25pt" />
  14. <attribute name="forecolor" type="color" default="ControlText" />
  15. <attribute name="backcolor" type="color" default="Control" />
  16. <attribute name="textalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="TopLeft" />
  17. <attribute name="autosize" type="bool" default="false" />
  18. <attribute name="wordwrap" type="bool" default="true" />
  19. <attribute name="usemnemonic" type="bool" default="true" />
  20. <attribute name="borderStyle" type="enum" values="None,FixedSingle,Fixed3D" default="None" />
  21. </attributes>
  22. <behavior>
  23. <event name="click" />
  24. <event name="doubleclick" />
  25. </behavior>
  26. </control>
  27. <control name="LinkLabel" type="display" category="winforms-basic" inherits="Label">
  28. <attributes>
  29. <attribute name="linkcolor" type="color" default="Blue" />
  30. <attribute name="visitedlinkcolor" type="color" default="Purple" />
  31. <attribute name="activelinkcolor" type="color" default="Red" />
  32. <attribute name="linkbehavior" type="enum" values="SystemDefault,AlwaysUnderline,HoverUnderline,NeverUnderline" default="SystemDefault" />
  33. </attributes>
  34. <behavior>
  35. <event name="linkclicked" />
  36. </behavior>
  37. <structure>
  38. <links min-count="0" max-count="unlimited">
  39. <link start="" length="" linkdata="" />
  40. </links>
  41. </structure>
  42. </control>
  43. <!-- Input Controls -->
  44. <control name="TextBox" type="input" category="winforms-input">
  45. <constraints>
  46. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  47. <allowed-children>none</allowed-children>
  48. <container>false</container>
  49. </constraints>
  50. <attributes>
  51. <attribute name="text" type="string" default="" />
  52. <attribute name="maxlength" type="int" default="32767" min="0" max="2147483647" />
  53. <attribute name="multiline" type="bool" default="false" />
  54. <attribute name="readonly" type="bool" default="false" />
  55. <attribute name="passwordchar" type="char" default="" />
  56. <attribute name="usepasswordchar" type="bool" default="false" />
  57. <attribute name="acceptstab" type="bool" default="false" />
  58. <attribute name="acceptsreturn" type="bool" default="false" />
  59. <attribute name="wordwrap" type="bool" default="true" />
  60. <attribute name="scrollbars" type="enum" values="None,Horizontal,Vertical,Both" default="None" />
  61. <attribute name="textalign" type="enum" values="Left,Center,Right" default="Left" />
  62. <attribute name="charactercasing" type="enum" values="Normal,Upper,Lower" default="Normal" />
  63. <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="Fixed3D" />
  64. </attributes>
  65. <behavior>
  66. <event name="textchanged" />
  67. <event name="enter" />
  68. <event name="leave" />
  69. <event name="keydown" />
  70. <event name="keyup" />
  71. <event name="keypress" />
  72. </behavior>
  73. </control>
  74. <control name="RichTextBox" type="input" category="winforms-input">
  75. <constraints>
  76. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  77. <allowed-children>none</allowed-children>
  78. <container>false</container>
  79. </constraints>
  80. <attributes>
  81. <attribute name="text" type="string" default="" />
  82. <attribute name="rtf" type="string" default="" />
  83. <attribute name="readonly" type="bool" default="false" />
  84. <attribute name="multiline" type="bool" default="true" />
  85. <attribute name="wordwrap" type="bool" default="true" />
  86. <attribute name="scrollbars" type="enum" values="None,Horizontal,Vertical,Both,ForcedHorizontal,ForcedVertical,ForcedBoth" default="Both" />
  87. <attribute name="detecturls" type="bool" default="true" />
  88. <attribute name="autowordselection" type="bool" default="false" />
  89. <attribute name="showselectionmargin" type="bool" default="false" />
  90. <attribute name="acceptstab" type="bool" default="false" />
  91. <attribute name="zoomfactor" type="float" default="1.0" min="0.015625" max="64.0" />
  92. </attributes>
  93. <behavior>
  94. <event name="textchanged" />
  95. <event name="selectionchanged" />
  96. <event name="linkclicked" />
  97. </behavior>
  98. </control>
  99. <control name="MaskedTextBox" type="input" category="winforms-input" inherits="TextBox">
  100. <attributes>
  101. <attribute name="mask" type="string" default="" />
  102. <attribute name="promptchar" type="char" default="_" />
  103. <attribute name="includeprompt" type="bool" default="true" />
  104. <attribute name="includeliterals" type="bool" default="true" />
  105. <attribute name="allowpromptascorrectchar" type="bool" default="true" />
  106. <attribute name="asciionly" type="bool" default="false" />
  107. <attribute name="beeponsamplerror" type="bool" default="false" />
  108. <attribute name="culture" type="string" default="en-US" />
  109. <attribute name="cutcopymaskedformat" type="enum" values="IncludePrompt,IncludeLiterals,ExcludePromptAndLiterals" default="IncludeLiterals" />
  110. <attribute name="hidepromptonfocus" type="bool" default="false" />
  111. </attributes>
  112. <behavior>
  113. <event name="maskchanged" />
  114. <event name="maskinputrejected" />
  115. </behavior>
  116. </control>
  117. <!-- Selection Controls -->
  118. <control name="ComboBox" type="input" category="winforms-input">
  119. <constraints>
  120. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  121. <allowed-children>items</allowed-children>
  122. <container>false</container>
  123. <requires-structure>items</requires-structure>
  124. </constraints>
  125. <attributes>
  126. <attribute name="text" type="string" default="" />
  127. <attribute name="selectedindex" type="int" default="-1" />
  128. <attribute name="selectedtext" type="string" default="" />
  129. <attribute name="dropdownstyle" type="enum" values="Simple,DropDown,DropDownList" default="DropDown" />
  130. <attribute name="dropdownwidth" type="int" default="121" min="0" />
  131. <attribute name="dropdownheight" type="int" default="106" min="0" />
  132. <attribute name="maxdropdownitems" type="int" default="8" min="1" max="100" />
  133. <attribute name="sorted" type="bool" default="false" />
  134. <attribute name="integralheight" type="bool" default="true" />
  135. <attribute name="itemheight" type="int" default="13" min="0" />
  136. </attributes>
  137. <behavior>
  138. <event name="selectedindexchanged" />
  139. <event name="selectedvaluechanged" />
  140. <event name="textchanged" />
  141. <event name="dropdownclosed" />
  142. <event name="dropdown" />
  143. </behavior>
  144. <structure>
  145. <items min-count="0" max-count="unlimited">
  146. <item text="" value="" />
  147. </items>
  148. </structure>
  149. </control>
  150. <control name="ListBox" type="input" category="winforms-input">
  151. <constraints>
  152. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  153. <allowed-children>items</allowed-children>
  154. <container>false</container>
  155. <requires-structure>items</requires-structure>
  156. </constraints>
  157. <attributes>
  158. <attribute name="selectedindex" type="int" default="-1" />
  159. <attribute name="selectionmode" type="enum" values="None,One,MultiSimple,MultiExtended" default="One" />
  160. <attribute name="sorted" type="bool" default="false" />
  161. <attribute name="integralheight" type="bool" default="true" />
  162. <attribute name="itemheight" type="int" default="13" min="0" />
  163. <attribute name="scrollalwaysvisible" type="bool" default="false" />
  164. <attribute name="horizontalscrollbar" type="bool" default="false" />
  165. <attribute name="horizontalextent" type="int" default="0" />
  166. <attribute name="columnwidth" type="int" default="0" />
  167. <attribute name="multicolumn" type="bool" default="false" />
  168. <attribute name="usecolumns" type="bool" default="false" />
  169. </attributes>
  170. <behavior>
  171. <event name="selectedindexchanged" />
  172. <event name="selectedvaluechanged" />
  173. <event name="doubleclick" />
  174. </behavior>
  175. <structure>
  176. <items min-count="0" max-count="unlimited">
  177. <item text="" value="" />
  178. </items>
  179. </structure>
  180. </control>
  181. <control name="CheckedListBox" type="input" category="winforms-input" inherits="ListBox">
  182. <attributes>
  183. <attribute name="checkontab" type="bool" default="false" />
  184. <attribute name="threedcheckboxes" type="bool" default="false" />
  185. </attributes>
  186. <behavior>
  187. <event name="itemcheck" />
  188. </behavior>
  189. <structure>
  190. <items min-count="0" max-count="unlimited">
  191. <item text="" value="" checked="false" checkstate="Unchecked" />
  192. </items>
  193. </structure>
  194. </control>
  195. <!-- Action Controls -->
  196. <control name="Button" type="action" category="winforms-action">
  197. <constraints>
  198. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  199. <allowed-children>none</allowed-children>
  200. <container>false</container>
  201. </constraints>
  202. <attributes>
  203. <attribute name="text" type="string" default="Button" />
  204. <attribute name="enabled" type="bool" default="true" />
  205. <attribute name="usevisualstyleelement" type="bool" default="true" />
  206. <attribute name="flatstyle" type="enum" values="Flat,Popup,Standard,System" default="Standard" />
  207. <attribute name="image" type="image" default="null" />
  208. <attribute name="imagealign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleCenter" />
  209. <attribute name="imageindex" type="int" default="-1" />
  210. <attribute name="textalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleCenter" />
  211. <attribute name="textimagerelation" type="enum" values="Overlay,TextAboveImage,TextBeforeImage,ImageAboveText,ImageBeforeText" default="Overlay" />
  212. <attribute name="usemnemonic" type="bool" default="true" />
  213. <attribute name="dialogresult" type="enum" values="None,OK,Cancel,Abort,Retry,Ignore,Yes,No" default="None" />
  214. </attributes>
  215. <behavior>
  216. <event name="click" required="true" />
  217. <event name="mousedown" />
  218. <event name="mouseup" />
  219. </behavior>
  220. </control>
  221. <control name="CheckBox" type="input" category="winforms-input">
  222. <constraints>
  223. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  224. <allowed-children>none</allowed-children>
  225. <container>false</container>
  226. </constraints>
  227. <attributes>
  228. <attribute name="text" type="string" default="CheckBox" />
  229. <attribute name="checked" type="bool" default="false" />
  230. <attribute name="checkstate" type="enum" values="Unchecked,Checked,Indeterminate" default="Unchecked" />
  231. <attribute name="threestate" type="bool" default="false" />
  232. <attribute name="autocheck" type="bool" default="true" />
  233. <attribute name="appearance" type="enum" values="Normal,Button" default="Normal" />
  234. <attribute name="checkalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleLeft" />
  235. <attribute name="flatstyle" type="enum" values="Flat,Popup,Standard,System" default="Standard" />
  236. <attribute name="textalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleLeft" />
  237. </attributes>
  238. <behavior>
  239. <event name="checkedchanged" />
  240. <event name="checkstatechanged" />
  241. <event name="click" />
  242. </behavior>
  243. </control>
  244. <control name="RadioButton" type="input" category="winforms-input">
  245. <constraints>
  246. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  247. <allowed-children>none</allowed-children>
  248. <container>false</container>
  249. </constraints>
  250. <attributes>
  251. <attribute name="text" type="string" default="RadioButton" />
  252. <attribute name="checked" type="bool" default="false" />
  253. <attribute name="autocheck" type="bool" default="true" />
  254. <attribute name="appearance" type="enum" values="Normal,Button" default="Normal" />
  255. <attribute name="checkalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleLeft" />
  256. <attribute name="flatstyle" type="enum" values="Flat,Popup,Standard,System" default="Standard" />
  257. <attribute name="textalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleLeft" />
  258. </attributes>
  259. <behavior>
  260. <event name="checkedchanged" />
  261. <event name="click" />
  262. </behavior>
  263. </control>
  264. <!-- Container Controls -->
  265. <control name="Panel" type="container" category="winforms-container">
  266. <constraints>
  267. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  268. <allowed-children>any-control</allowed-children>
  269. <container>true</container>
  270. <max-children>unlimited</max-children>
  271. </constraints>
  272. <attributes>
  273. <attribute name="autosize" type="bool" default="false" />
  274. <attribute name="autosizemode" type="enum" values="GrowOnly,GrowAndShrink" default="GrowOnly" />
  275. <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="None" />
  276. <attribute name="autoscroll" type="bool" default="false" />
  277. <attribute name="autoscrollmargin" type="size" default="0,0" />
  278. <attribute name="autoscrollminsize" type="size" default="0,0" />
  279. <attribute name="padding" type="padding" default="0,0,0,0" />
  280. </attributes>
  281. <structure>
  282. <children allow-multiple="true" />
  283. </structure>
  284. </control>
  285. <control name="GroupBox" type="container" category="winforms-container">
  286. <constraints>
  287. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  288. <allowed-children>any-control</allowed-children>
  289. <container>true</container>
  290. </constraints>
  291. <attributes>
  292. <attribute name="text" type="string" default="GroupBox" />
  293. <attribute name="flatstyle" type="enum" values="Flat,Popup,Standard,System" default="Standard" />
  294. <attribute name="autosizemode" type="enum" values="GrowOnly,GrowAndShrink" default="GrowOnly" />
  295. <attribute name="autosize" type="bool" default="false" />
  296. </attributes>
  297. </control>
  298. <control name="TabControl" type="container" category="winforms-container">
  299. <constraints>
  300. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  301. <allowed-children>TabPage</allowed-children>
  302. <container>true</container>
  303. <requires-structure>tabpages</requires-structure>
  304. </constraints>
  305. <attributes>
  306. <attribute name="selectedindex" type="int" default="-1" />
  307. <attribute name="alignment" type="enum" values="Top,Bottom,Left,Right" default="Top" />
  308. <attribute name="appearance" type="enum" values="Normal,Buttons,FlatButtons" default="Normal" />
  309. <attribute name="multiline" type="bool" default="false" />
  310. <attribute name="sizemodeFixed" type="bool" default="false" />
  311. <attribute name="itemsize" type="size" default="0,0" />
  312. <attribute name="padding" type="point" default="6,3" />
  313. <attribute name="showtooltips" type="bool" default="false" />
  314. <attribute name="hottrack" type="bool" default="false" />
  315. </attributes>
  316. <behavior>
  317. <event name="selectedindexchanged" />
  318. <event name="selecting" />
  319. <event name="selected" />
  320. <event name="deselecting" />
  321. <event name="deselected" />
  322. </behavior>
  323. <structure>
  324. <tabpages min-count="0" max-count="unlimited">
  325. <tabpage name="" text="" tooltip="" imageindex="-1" />
  326. </tabpages>
  327. </structure>
  328. </control>
  329. <control name="TabPage" type="container" category="winforms-container">
  330. <constraints>
  331. <allowed-parents>TabControl</allowed-parents>
  332. <allowed-children>any-control</allowed-children>
  333. <container>true</container>
  334. </constraints>
  335. <attributes>
  336. <attribute name="text" type="string" default="TabPage" />
  337. <attribute name="tooltip" type="string" default="" />
  338. <attribute name="imageindex" type="int" default="-1" />
  339. <attribute name="imagekey" type="string" default="" />
  340. <attribute name="usevisualstylebackcolor" type="bool" default="false" />
  341. <attribute name="autoscroll" type="bool" default="false" />
  342. <attribute name="autoscrollmargin" type="size" default="0,0" />
  343. <attribute name="autoscrollminsize" type="size" default="0,0" />
  344. </attributes>
  345. </control>
  346. <control name="SplitContainer" type="container" category="winforms-container">
  347. <constraints>
  348. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel</allowed-parents>
  349. <allowed-children>SplitPanel</allowed-children>
  350. <container>true</container>
  351. <requires-structure>panels</requires-structure>
  352. </constraints>
  353. <attributes>
  354. <attribute name="orientation" type="enum" values="Horizontal,Vertical" default="Vertical" />
  355. <attribute name="splitposition" type="int" default="50" />
  356. <attribute name="splitterdistance" type="int" default="50" />
  357. <attribute name="splitterwidth" type="int" default="4" min="1" />
  358. <attribute name="fixedpanel" type="enum" values="None,Panel1,Panel2" default="None" />
  359. <attribute name="issplitterfixed" type="bool" default="false" />
  360. <attribute name="panel1collapsed" type="bool" default="false" />
  361. <attribute name="panel2collapsed" type="bool" default="false" />
  362. <attribute name="panel1mindistance" type="int" default="25" />
  363. <attribute name="panel2mindistance" type="int" default="25" />
  364. </attributes>
  365. <behavior>
  366. <event name="splittermoved" />
  367. <event name="splittermoving" />
  368. </behavior>
  369. <structure>
  370. <panels min-count="2" max-count="2">
  371. <panel name="Panel1" />
  372. <panel name="Panel2" />
  373. </panels>
  374. </structure>
  375. </control>
  376. <control name="SplitPanel" type="container" category="winforms-container">
  377. <constraints>
  378. <allowed-parents>SplitContainer</allowed-parents>
  379. <allowed-children>any-control</allowed-children>
  380. <container>true</container>
  381. </constraints>
  382. <attributes>
  383. <attribute name="autoscroll" type="bool" default="false" />
  384. <attribute name="autoscrollmargin" type="size" default="0,0" />
  385. <attribute name="autoscrollminsize" type="size" default="0,0" />
  386. </attributes>
  387. </control>
  388. <control name="TableLayoutPanel" type="container" category="winforms-container">
  389. <constraints>
  390. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  391. <allowed-children>any-control</allowed-children>
  392. <container>true</container>
  393. <requires-structure>table-layout</requires-structure>
  394. </constraints>
  395. <attributes>
  396. <attribute name="columncount" type="int" default="2" min="0" />
  397. <attribute name="rowcount" type="int" default="2" min="0" />
  398. <attribute name="growstyle" type="enum" values="FixedSize,AddRows,AddColumns" default="AddRows" />
  399. <attribute name="cellborderstyle" type="enum" values="None,Single,Inset,InsetDouble,Outset,OutsetDouble,OutsetPartial" default="None" />
  400. </attributes>
  401. <structure>
  402. <table-layout>
  403. <columns min-count="1" max-count="unlimited">
  404. <column sizetype="AutoSize" size="0" />
  405. </columns>
  406. <rows min-count="1" max-count="unlimited">
  407. <row sizetype="AutoSize" size="0" />
  408. </rows>
  409. <cells>
  410. <cell column="0" row="0" columnspan="1" rowspan="1" />
  411. </cells>
  412. </table-layout>
  413. </structure>
  414. </control>
  415. <control name="FlowLayoutPanel" type="container" category="winforms-container">
  416. <constraints>
  417. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  418. <allowed-children>any-control</allowed-children>
  419. <container>true</container>
  420. </constraints>
  421. <attributes>
  422. <attribute name="flowdirection" type="enum" values="LeftToRight,TopDown,RightToLeft,BottomUp" default="LeftToRight" />
  423. <attribute name="wrapcontents" type="bool" default="true" />
  424. <attribute name="autosize" type="bool" default="false" />
  425. <attribute name="autosizemode" type="enum" values="GrowOnly,GrowAndShrink" default="GrowOnly" />
  426. </attributes>
  427. </control>
  428. <!-- Data Controls -->
  429. <control name="DataGridView" type="data" category="winforms-data">
  430. <constraints>
  431. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  432. <allowed-children>columns</allowed-children>
  433. <container>true</container>
  434. <requires-structure>columns</requires-structure>
  435. </constraints>
  436. <attributes>
  437. <attribute name="allowusertoaddrows" type="bool" default="true" />
  438. <attribute name="allowusertodeleterows" type="bool" default="true" />
  439. <attribute name="allowusertoresizecolumns" type="bool" default="true" />
  440. <attribute name="allowusertoresizerows" type="bool" default="true" />
  441. <attribute name="allowusertoordercolumns" type="bool" default="false" />
  442. <attribute name="multiselect" type="bool" default="true" />
  443. <attribute name="readonly" type="bool" default="false" />
  444. <attribute name="selectionmode" type="enum" values="CellSelect,FullRowSelect,FullColumnSelect,RowHeaderSelect,ColumnHeaderSelect" default="RowHeaderSelect" />
  445. <attribute name="autosizecolumnsmode" type="enum" values="None,AllCells,AllCellsExceptHeader,DisplayedCells,DisplayedCellsExceptHeader,ColumnHeader,Fill" default="None" />
  446. <attribute name="autosizerowsmode" type="enum" values="None,AllHeaders,AllCells,AllCellsExceptHeaders,DisplayedHeaders,DisplayedCells,DisplayedCellsExceptHeaders" default="None" />
  447. <attribute name="columnheadersvisible" type="bool" default="true" />
  448. <attribute name="rowheadersvisible" type="bool" default="true" />
  449. <attribute name="gridlines" type="bool" default="true" />
  450. <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="FixedSingle" />
  451. </attributes>
  452. <behavior>
  453. <event name="cellclick" />
  454. <event name="celldoubleclick" />
  455. <event name="cellvaluechanged" />
  456. <event name="currentcellchanged" />
  457. <event name="selectionchanged" />
  458. <event name="rowenter" />
  459. <event name="rowleave" />
  460. <event name="columnheadermouseclick" />
  461. </behavior>
  462. <structure>
  463. <columns min-count="0" max-count="unlimited">
  464. <column name="" headertext="" datapropertyname="" width="100" visible="true" readonly="false" resizable="true" sortmode="Automatic" />
  465. </columns>
  466. </structure>
  467. </control>
  468. <control name="ListView" type="data" category="winforms-data">
  469. <constraints>
  470. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  471. <allowed-children>columns,items</allowed-children>
  472. <container>true</container>
  473. </constraints>
  474. <attributes>
  475. <attribute name="view" type="enum" values="LargeIcon,Details,SmallIcon,List,Tile" default="LargeIcon" />
  476. <attribute name="multiselect" type="bool" default="true" />
  477. <attribute name="fullrowselect" type="bool" default="false" />
  478. <attribute name="gridlines" type="bool" default="false" />
  479. <attribute name="headerStyle" type="enum" values="Clickable,NonClickable,None" default="Clickable" />
  480. <attribute name="hideselection" type="bool" default="true" />
  481. <attribute name="hovselection" type="bool" default="false" />
  482. <attribute name="labelwrap" type="bool" default="true" />
  483. <attribute name="scrollable" type="bool" default="true" />
  484. <attribute name="showgroups" type="bool" default="false" />
  485. <attribute name="showitemtooltips" type="bool" default="false" />
  486. <attribute name="sorting" type="enum" values="None,Ascending,Descending" default="None" />
  487. <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="Fixed3D" />
  488. <attribute name="activation" type="enum" values="Standard,OneClick,TwoClick" default="Standard" />
  489. <attribute name="alignment" type="enum" values="Default,Left,Top,SnapToGrid" default="Default" />
  490. </attributes>
  491. <behavior>
  492. <event name="selectedindexchanged" />
  493. <event name="itemselectionchanged" />
  494. <event name="itemactivate" />
  495. <event name="itemcheck" />
  496. <event name="beforelabeledit" />
  497. <event name="afterlabeledit" />
  498. <event name="columnclick" />
  499. </behavior>
  500. <structure>
  501. <columns min-count="0" max-count="unlimited">
  502. <column text="" width="60" textalign="Left" />
  503. </columns>
  504. <items min-count="0" max-count="unlimited">
  505. <item text="" imageindex="-1" checked="false" tag="">
  506. <subitems>
  507. <subitem text="" />
  508. </subitems>
  509. </item>
  510. </items>
  511. </structure>
  512. </control>
  513. <control name="TreeView" type="data" category="winforms-data">
  514. <constraints>
  515. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  516. <allowed-children>nodes</allowed-children>
  517. <container>true</container>
  518. <requires-structure>nodes</requires-structure>
  519. </constraints>
  520. <attributes>
  521. <attribute name="checkboxes" type="bool" default="false" />
  522. <attribute name="fullrowselect" type="bool" default="false" />
  523. <attribute name="hideselection" type="bool" default="true" />
  524. <attribute name="hottracking" type="bool" default="false" />
  525. <attribute name="labelEdit" type="bool" default="false" />
  526. <attribute name="showlines" type="bool" default="true" />
  527. <attribute name="showplusminus" type="bool" default="true" />
  528. <attribute name="showrootlines" type="bool" default="true" />
  529. <attribute name="sorted" type="bool" default="false" />
  530. <attribute name="scrollable" type="bool" default="true" />
  531. <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="Fixed3D" />
  532. <attribute name="indent" type="int" default="19" min="0" />
  533. <attribute name="itemheight" type="int" default="16" min="1" />
  534. </attributes>
  535. <behavior>
  536. <event name="beforeselect" />
  537. <event name="afterselect" />
  538. <event name="beforecheck" />
  539. <event name="aftercheck" />
  540. <event name="beforeexpand" />
  541. <event name="afterexpand" />
  542. <event name="beforecollapse" />
  543. <event name="aftercollapse" />
  544. <event name="beforelabeledit" />
  545. <event name="afterlabeledit" />
  546. <event name="nodeMouseClick" />
  547. <event name="nodeMouseDoubleClick" />
  548. </behavior>
  549. <structure>
  550. <nodes min-count="0" max-count="unlimited">
  551. <node text="" imageindex="-1" selectedimageindex="-1" checked="false" expanded="false" tag="">
  552. <nodes max-depth="50">
  553. <!-- Recursive node structure with depth limit -->
  554. </nodes>
  555. </node>
  556. </nodes>
  557. </structure>
  558. </control>
  559. <!-- Progress and Status Controls -->
  560. <control name="ProgressBar" type="display" category="winforms-status">
  561. <constraints>
  562. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  563. <allowed-children>none</allowed-children>
  564. <container>false</container>
  565. </constraints>
  566. <attributes>
  567. <attribute name="minimum" type="int" default="0" />
  568. <attribute name="maximum" type="int" default="100" />
  569. <attribute name="value" type="int" default="0" />
  570. <attribute name="step" type="int" default="10" />
  571. <attribute name="style" type="enum" values="Blocks,Continuous,Marquee" default="Blocks" />
  572. <attribute name="marqueeanimationspeed" type="int" default="100" min="0" />
  573. <attribute name="rightToLeft" type="bool" default="false" />
  574. </attributes>
  575. </control>
  576. <control name="StatusStrip" type="container" category="winforms-status">
  577. <constraints>
  578. <allowed-parents>Form</allowed-parents>
  579. <allowed-children>ToolStripStatusLabel,ToolStripProgressBar,ToolStripDropDownButton,ToolStripSplitButton</allowed-children>
  580. <container>true</container>
  581. </constraints>
  582. <attributes>
  583. <attribute name="sizinggrip" type="bool" default="true" />
  584. <attribute name="showitemtooltips" type="bool" default="false" />
  585. <attribute name="stretch" type="bool" default="true" />
  586. <attribute name="renderstyle" type="enum" values="ManagerRenderMode,System,Professional" default="ManagerRenderMode" />
  587. </attributes>
  588. <structure>
  589. <items min-count="0" max-count="unlimited">
  590. <item type="StatusLabel" text="" />
  591. </items>
  592. </structure>
  593. </control>
  594. <!-- Menu and Toolbar Controls -->
  595. <control name="MenuStrip" type="navigation" category="winforms-menu">
  596. <constraints>
  597. <allowed-parents>Form</allowed-parents>
  598. <allowed-children>ToolStripMenuItem</allowed-children>
  599. <container>true</container>
  600. <requires-structure>menu-items</requires-structure>
  601. </constraints>
  602. <attributes>
  603. <attribute name="showitemtooltips" type="bool" default="false" />
  604. <attribute name="stretch" type="bool" default="true" />
  605. <attribute name="renderstyle" type="enum" values="ManagerRenderMode,System,Professional" default="ManagerRenderMode" />
  606. </attributes>
  607. <structure>
  608. <menu-items min-count="0" max-count="unlimited">
  609. <menu-item text="" shortcutkeys="None" enabled="true" visible="true" checked="false">
  610. <menu-items max-depth="10">
  611. <!-- Recursive menu structure -->
  612. </menu-items>
  613. </menu-item>
  614. </menu-items>
  615. </structure>
  616. </control>
  617. <control name="ToolStrip" type="navigation" category="winforms-toolbar">
  618. <constraints>
  619. <allowed-parents>Form,Panel,GroupBox,TabPage</allowed-parents>
  620. <allowed-children>ToolStripButton,ToolStripLabel,ToolStripSeparator,ToolStripComboBox,ToolStripTextBox</allowed-children>
  621. <container>true</container>
  622. </constraints>
  623. <attributes>
  624. <attribute name="showitemtooltips" type="bool" default="true" />
  625. <attribute name="stretch" type="bool" default="true" />
  626. <attribute name="gripsVisible" type="bool" default="true" />
  627. <attribute name="canoverflow" type="bool" default="true" />
  628. <attribute name="layoutstyle" type="enum" values="Flow,HorizontalStackWithOverflow,StackWithOverflow,Table,VerticalStackWithOverflow" default="StackWithOverflow" />
  629. <attribute name="renderstyle" type="enum" values="ManagerRenderMode,System,Professional" default="ManagerRenderMode" />
  630. <attribute name="textumode" type="enum" values="ImageAndText,ImageOnly,TextImageRelation,TextOnly" default="ImageAndText" />
  631. </attributes>
  632. <structure>
  633. <items min-count="0" max-count="unlimited">
  634. <item type="Button" text="" tooltip="" image="" enabled="true" visible="true" />
  635. </items>
  636. </structure>
  637. </control>
  638. <control name="ContextMenuStrip" type="navigation" category="winforms-menu">
  639. <constraints>
  640. <allowed-parents>any-control</allowed-parents>
  641. <allowed-children>ToolStripMenuItem</allowed-children>
  642. <container>true</container>
  643. </constraints>
  644. <attributes>
  645. <attribute name="showcheckmargin" type="bool" default="false" />
  646. <attribute name="showimagemargin" type="bool" default="true" />
  647. <attribute name="showitemtooltips" type="bool" default="false" />
  648. <attribute name="renderstyle" type="enum" values="ManagerRenderMode,System,Professional" default="ManagerRenderMode" />
  649. </attributes>
  650. <structure>
  651. <menu-items min-count="0" max-count="unlimited">
  652. <menu-item text="" shortcutkeys="None" enabled="true" visible="true" checked="false" />
  653. </menu-items>
  654. </structure>
  655. </control>
  656. <!-- Numeric and Date Controls -->
  657. <control name="NumericUpDown" type="input" category="winforms-input">
  658. <constraints>
  659. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  660. <allowed-children>none</allowed-children>
  661. <container>false</container>
  662. </constraints>
  663. <attributes>
  664. <attribute name="value" type="decimal" default="0" />
  665. <attribute name="minimum" type="decimal" default="0" />
  666. <attribute name="maximum" type="decimal" default="100" />
  667. <attribute name="increment" type="decimal" default="1" />
  668. <attribute name="decimalplaces" type="int" default="0" min="0" max="99" />
  669. <attribute name="thousandsseparator" type="bool" default="false" />
  670. <attribute name="readonly" type="bool" default="false" />
  671. <attribute name="interceptarrowkeys" type="bool" default="true" />
  672. <attribute name="updownalign" type="enum" values="Left,Right" default="Right" />
  673. <attribute name="hexadecimal" type="bool" default="false" />
  674. <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="Fixed3D" />
  675. <attribute name="textalign" type="enum" values="Left,Center,Right" default="Left" />
  676. </attributes>
  677. <behavior>
  678. <event name="valuechanged" />
  679. </behavior>
  680. </control>
  681. <control name="DateTimePicker" type="input" category="winforms-input">
  682. <constraints>
  683. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  684. <allowed-children>none</allowed-children>
  685. <container>false</container>
  686. </constraints>
  687. <attributes>
  688. <attribute name="value" type="datetime" default="now" />
  689. <attribute name="format" type="enum" values="Long,Short,Time,Custom" default="Long" />
  690. <attribute name="customformat" type="string" default="" />
  691. <attribute name="showcheckbox" type="bool" default="false" />
  692. <attribute name="checked" type="bool" default="true" />
  693. <attribute name="showupdown" type="bool" default="false" />
  694. <attribute name="mindate" type="datetime" default="1753-01-01" />
  695. <attribute name="maxdate" type="datetime" default="9998-12-31" />
  696. <attribute name="rightToLeft" type="bool" default="false" />
  697. <attribute name="righttoleftlayout" type="bool" default="false" />
  698. </attributes>
  699. <behavior>
  700. <event name="valuechanged" />
  701. <event name="formatchanged" />
  702. <event name="dropdown" />
  703. <event name="closeup" />
  704. </behavior>
  705. </control>
  706. <control name="MonthCalendar" type="input" category="winforms-input">
  707. <constraints>
  708. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  709. <allowed-children>none</allowed-children>
  710. <container>false</container>
  711. </constraints>
  712. <attributes>
  713. <attribute name="selectionstart" type="datetime" default="today" />
  714. <attribute name="selectionend" type="datetime" default="today" />
  715. <attribute name="maxselectioncount" type="int" default="7" min="1" />
  716. <attribute name="mindate" type="datetime" default="1753-01-01" />
  717. <attribute name="maxdate" type="datetime" default="9998-12-31" />
  718. <attribute name="showtoday" type="bool" default="true" />
  719. <attribute name="showtodaycircle" type="bool" default="true" />
  720. <attribute name="showweeknumbers" type="bool" default="false" />
  721. <attribute name="scrollchange" type="int" default="1" min="1" max="20000" />
  722. <attribute name="firstdayofweek" type="enum" values="Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday,Default" default="Default" />
  723. </attributes>
  724. <behavior>
  725. <event name="datechanged" />
  726. <event name="dateselected" />
  727. </behavior>
  728. </control>
  729. <!-- Scroll Controls -->
  730. <control name="TrackBar" type="input" category="winforms-input">
  731. <constraints>
  732. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  733. <allowed-children>none</allowed-children>
  734. <container>false</container>
  735. </constraints>
  736. <attributes>
  737. <attribute name="value" type="int" default="0" />
  738. <attribute name="minimum" type="int" default="0" />
  739. <attribute name="maximum" type="int" default="10" />
  740. <attribute name="smallchange" type="int" default="1" />
  741. <attribute name="largechange" type="int" default="5" />
  742. <attribute name="orientation" type="enum" values="Horizontal,Vertical" default="Horizontal" />
  743. <attribute name="tickstyle" type="enum" values="None,TopLeft,BottomRight,Both" default="BottomRight" />
  744. <attribute name="tickfrequency" type="int" default="1" />
  745. <attribute name="autosize" type="bool" default="true" />
  746. <attribute name="rightToLeft" type="bool" default="false" />
  747. <attribute name="righttoleftlayout" type="bool" default="false" />
  748. </attributes>
  749. <behavior>
  750. <event name="valuechanged" />
  751. <event name="scroll" />
  752. </behavior>
  753. </control>
  754. <control name="HScrollBar" type="input" category="winforms-scroll">
  755. <constraints>
  756. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  757. <allowed-children>none</allowed-children>
  758. <container>false</container>
  759. </constraints>
  760. <attributes>
  761. <attribute name="value" type="int" default="0" />
  762. <attribute name="minimum" type="int" default="0" />
  763. <attribute name="maximum" type="int" default="100" />
  764. <attribute name="smallchange" type="int" default="1" />
  765. <attribute name="largechange" type="int" default="10" />
  766. <attribute name="rightToLeft" type="bool" default="false" />
  767. </attributes>
  768. <behavior>
  769. <event name="valuechanged" />
  770. <event name="scroll" />
  771. </behavior>
  772. </control>
  773. <control name="VScrollBar" type="input" category="winforms-scroll" inherits="HScrollBar">
  774. <attributes>
  775. <attribute name="rightToLeft" type="bool" default="false" />
  776. </attributes>
  777. </control>
  778. <!-- Picture and Drawing Controls -->
  779. <control name="PictureBox" type="display" category="winforms-display">
  780. <constraints>
  781. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  782. <allowed-children>none</allowed-children>
  783. <container>false</container>
  784. </constraints>
  785. <attributes>
  786. <attribute name="image" type="image" default="null" />
  787. <attribute name="imagelocation" type="string" default="" />
  788. <attribute name="sizemode" type="enum" values="Normal,StretchImage,AutoSize,CenterImage,Zoom" default="Normal" />
  789. <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="None" />
  790. <attribute name="errorimage" type="image" default="null" />
  791. <attribute name="initialimage" type="image" default="null" />
  792. <attribute name="waitonload" type="bool" default="false" />
  793. </attributes>
  794. <behavior>
  795. <event name="click" />
  796. <event name="sizechanged" />
  797. <event name="loadcompleted" />
  798. <event name="loadprogresschanged" />
  799. </behavior>
  800. </control>
  801. <!-- Timer Control -->
  802. <control name="Timer" type="system" category="winforms-system">
  803. <constraints>
  804. <allowed-parents>Form</allowed-parents>
  805. <allowed-children>none</allowed-children>
  806. <container>false</container>
  807. </constraints>
  808. <attributes>
  809. <attribute name="interval" type="int" default="100" min="1" />
  810. <attribute name="enabled" type="bool" default="false" />
  811. </attributes>
  812. <behavior>
  813. <event name="tick" required="true" />
  814. </behavior>
  815. </control>
  816. <!-- File and Directory Controls -->
  817. <control name="OpenFileDialog" type="dialog" category="winforms-dialog">
  818. <constraints>
  819. <allowed-parents>Form</allowed-parents>
  820. <allowed-children>none</allowed-children>
  821. <container>false</container>
  822. </constraints>
  823. <attributes>
  824. <attribute name="filename" type="string" default="" />
  825. <attribute name="filter" type="string" default="" />
  826. <attribute name="filterindex" type="int" default="1" />
  827. <attribute name="initialDirectory" type="string" default="" />
  828. <attribute name="title" type="string" default="" />
  829. <attribute name="multiselect" type="bool" default="false" />
  830. <attribute name="checkfileexists" type="bool" default="true" />
  831. <attribute name="checkpathexists" type="bool" default="true" />
  832. <attribute name="dereferencelinks" type="bool" default="true" />
  833. <attribute name="restoreDirectory" type="bool" default="false" />
  834. <attribute name="showhelp" type="bool" default="false" />
  835. <attribute name="supportmultidottedextensions" type="bool" default="false" />
  836. <attribute name="validatenames" type="bool" default="true" />
  837. </attributes>
  838. <behavior>
  839. <event name="fileok" />
  840. <event name="helpRequest" />
  841. </behavior>
  842. </control>
  843. <control name="SaveFileDialog" type="dialog" category="winforms-dialog" inherits="OpenFileDialog">
  844. <attributes>
  845. <attribute name="createprompt" type="bool" default="false" />
  846. <attribute name="overwriteprompt" type="bool" default="true" />
  847. </attributes>
  848. </control>
  849. <control name="FolderBrowserDialog" type="dialog" category="winforms-dialog">
  850. <constraints>
  851. <allowed-parents>Form</allowed-parents>
  852. <allowed-children>none</allowed-children>
  853. <container>false</container>
  854. </constraints>
  855. <attributes>
  856. <attribute name="selectedpath" type="string" default="" />
  857. <attribute name="description" type="string" default="" />
  858. <attribute name="shownewfolderbutton" type="bool" default="true" />
  859. <attribute name="rootfolder" type="enum" values="Desktop,Programs,MyDocuments,Personal,Favorites,Startup,Recent,SendTo,StartMenu,MyMusic,MyVideos,DesktopDirectory,MyComputer,NetworkShortcuts,Fonts,Templates,CommonStartMenu,CommonPrograms,CommonStartup,CommonDesktopDirectory,ApplicationData,PrinterShortcuts,LocalApplicationData,InternetCache,Cookies,History,CommonApplicationData,Windows,System,ProgramFiles,MyPictures,UserProfile,SystemX86,ProgramFilesX86,CommonProgramFiles,CommonProgramFilesX86,CommonTemplates,CommonDocuments,CommonAdminTools,AdminTools,CommonMusic,CommonPictures,CommonVideos,Resources,LocalizedResources,CommonOemLinks,CDBurning" default="Desktop" />
  860. </attributes>
  861. <behavior>
  862. <event name="helpRequest" />
  863. </behavior>
  864. </control>
  865. <!-- Color and Font Dialogs -->
  866. <control name="ColorDialog" type="dialog" category="winforms-dialog">
  867. <constraints>
  868. <allowed-parents>Form</allowed-parents>
  869. <allowed-children>none</allowed-children>
  870. <container>false</container>
  871. </constraints>
  872. <attributes>
  873. <attribute name="color" type="color" default="Black" />
  874. <attribute name="allowfullopen" type="bool" default="true" />
  875. <attribute name="anycolor" type="bool" default="false" />
  876. <attribute name="fullopen" type="bool" default="false" />
  877. <attribute name="showhelp" type="bool" default="false" />
  878. <attribute name="solidcoloronly" type="bool" default="false" />
  879. </attributes>
  880. <behavior>
  881. <event name="helpRequest" />
  882. </behavior>
  883. </control>
  884. <control name="FontDialog" type="dialog" category="winforms-dialog">
  885. <constraints>
  886. <allowed-parents>Form</allowed-parents>
  887. <allowed-children>none</allowed-children>
  888. <container>false</container>
  889. </constraints>
  890. <attributes>
  891. <attribute name="font" type="font" default="Microsoft Sans Serif, 8.25pt" />
  892. <attribute name="color" type="color" default="Black" />
  893. <attribute name="allowscriptchange" type="bool" default="true" />
  894. <attribute name="allowsimulations" type="bool" default="true" />
  895. <attribute name="allowvectorfonts" type="bool" default="true" />
  896. <attribute name="allowverticalfonts" type="bool" default="true" />
  897. <attribute name="fixedpitchonly" type="bool" default="false" />
  898. <attribute name="fontmustexist" type="bool" default="false" />
  899. <attribute name="maxsize" type="int" default="0" />
  900. <attribute name="minsize" type="int" default="0" />
  901. <attribute name="scriptsonly" type="bool" default="false" />
  902. <attribute name="showapply" type="bool" default="false" />
  903. <attribute name="showcolor" type="bool" default="false" />
  904. <attribute name="showeffects" type="bool" default="true" />
  905. <attribute name="showhelp" type="bool" default="false" />
  906. </attributes>
  907. <behavior>
  908. <event name="apply" />
  909. <event name="helpRequest" />
  910. </behavior>
  911. </control>
  912. <!-- Print Controls -->
  913. <control name="PrintDialog" type="dialog" category="winforms-dialog">
  914. <constraints>
  915. <allowed-parents>Form</allowed-parents>
  916. <allowed-children>none</allowed-children>
  917. <container>false</container>
  918. </constraints>
  919. <attributes>
  920. <attribute name="allowcurrentpage" type="bool" default="false" />
  921. <attribute name="allowpages" type="bool" default="false" />
  922. <attribute name="allowprinttofile" type="bool" default="true" />
  923. <attribute name="allowselection" type="bool" default="false" />
  924. <attribute name="showhelp" type="bool" default="false" />
  925. <attribute name="shownetwork" type="bool" default="true" />
  926. <attribute name="useexdialog" type="bool" default="false" />
  927. </attributes>
  928. <behavior>
  929. <event name="helpRequest" />
  930. </behavior>
  931. </control>
  932. <control name="PrintPreviewDialog" type="dialog" category="winforms-dialog">
  933. <constraints>
  934. <allowed-parents>Form</allowed-parents>
  935. <allowed-children>none</allowed-children>
  936. <container>false</container>
  937. </constraints>
  938. <attributes>
  939. <attribute name="autosizemode" type="enum" values="GrowOnly,GrowAndShrink" default="GrowOnly" />
  940. <attribute name="showicon" type="bool" default="true" />
  941. <attribute name="useantialias" type="bool" default="false" />
  942. </attributes>
  943. </control>
  944. <!-- WebBrowser Control -->
  945. <control name="WebBrowser" type="display" category="winforms-web">
  946. <constraints>
  947. <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
  948. <allowed-children>none</allowed-children>
  949. <container>false</container>
  950. </constraints>
  951. <attributes>
  952. <attribute name="url" type="string" default="about:blank" />
  953. <attribute name="allownavigation" type="bool" default="true" />
  954. <attribute name="allowwebbrowserdrop" type="bool" default="true" />
  955. <attribute name="iswebbrowsercontextmenuenabled" type="bool" default="true" />
  956. <attribute name="scripteerorssuppressed" type="bool" default="false" />
  957. <attribute name="webbrowsershortcutsenabled" type="bool" default="true" />
  958. <attribute name="scrollbarsenabled" type="bool" default="true" />
  959. </attributes>
  960. <behavior>
  961. <event name="canbrowsebackchanged" />
  962. <event name="canbrowseforwardchanged" />
  963. <event name="documentcompleted" />
  964. <event name="documenttitlechanged" />
  965. <event name="encryptionlevelchanged" />
  966. <event name="navigated" />
  967. <event name="navigating" />
  968. <event name="newwindow" />
  969. <event name="progresschanged" />
  970. <event name="statustetchanged" />
  971. </behavior>
  972. </control>
  973. <!-- Notification Controls -->
  974. <control name="NotifyIcon" type="system" category="winforms-system">
  975. <constraints>
  976. <allowed-parents>Form</allowed-parents>
  977. <allowed-children>none</allowed-children>
  978. <container>false</container>
  979. </constraints>
  980. <attributes>
  981. <attribute name="icon" type="icon" required="true" />
  982. <attribute name="text" type="string" default="" />
  983. <attribute name="visible" type="bool" default="false" />
  984. <attribute name="balloontiptitle" type="string" default="" />
  985. <attribute name="balloontiptext" type="string" default="" />
  986. <attribute name="balloontipicon" type="enum" values="None,Info,Warning,Error" default="None" />
  987. </attributes>
  988. <behavior>
  989. <event name="balloonTipClicked" />
  990. <event name="balloonTipClosed" />
  991. <event name="balloonTipShown" />
  992. <event name="click" />
  993. <event name="doubleclick" />
  994. <event name="mouseclick" />
  995. <event name="mousedoubleclick" />
  996. <event name="mousedown" />
  997. <event name="mousemove" />
  998. <event name="mouseup" />
  999. </behavior>
  1000. </control>
  1001. <!-- Error Provider -->
  1002. <control name="ErrorProvider" type="system" category="winforms-validation">
  1003. <constraints>
  1004. <allowed-parents>Form</allowed-parents>
  1005. <allowed-children>none</allowed-children>
  1006. <container>false</container>
  1007. </constraints>
  1008. <attributes>
  1009. <attribute name="blinkrate" type="int" default="250" min="0" />
  1010. <attribute name="blinkstyle" type="enum" values="BlinkIfDifferentError,AlwaysBlink,NeverBlink" default="BlinkIfDifferentError" />
  1011. <attribute name="icon" type="icon" default="default-error-icon" />
  1012. <attribute name="datasource" type="object" default="null" />
  1013. <attribute name="datamember" type="string" default="" />
  1014. <attribute name="rightToLeft" type="bool" default="false" />
  1015. </attributes>
  1016. </control>
  1017. <!-- Tooltip -->
  1018. <control name="ToolTip" type="system" category="winforms-system">
  1019. <constraints>
  1020. <allowed-parents>Form</allowed-parents>
  1021. <allowed-children>none</allowed-children>
  1022. <container>false</container>
  1023. </constraints>
  1024. <attributes>
  1025. <attribute name="active" type="bool" default="true" />
  1026. <attribute name="autodelay" type="int" default="500" min="0" />
  1027. <attribute name="autopop" type="int" default="5000" min="0" />
  1028. <attribute name="initialdelay" type="int" default="500" min="0" />
  1029. <attribute name="reshowdelay" type="int" default="100" min="0" />
  1030. <attribute name="showAlways" type="bool" default="false" />
  1031. <attribute name="toolTipIcon" type="enum" values="None,Info,Warning,Error" default="None" />
  1032. <attribute name="tooltiptitle" type="string" default="" />
  1033. <attribute name="useAnimation" type="bool" default="true" />
  1034. <attribute name="useFading" type="bool" default="true" />
  1035. <attribute name="istotalon" type="bool" default="true" />
  1036. </attributes>
  1037. <behavior>
  1038. <event name="draw" />
  1039. <event name="popup" />
  1040. </behavior>
  1041. </control>
  1042. <!-- Help Provider -->
  1043. <control name="HelpProvider" type="system" category="winforms-system">
  1044. <constraints>
  1045. <allowed-parents>Form</allowed-parents>
  1046. <allowed-children>none</allowed-children>
  1047. <container>false</container>
  1048. </constraints>
  1049. <attributes>
  1050. <attribute name="helpnamespace" type="string" default="" />
  1051. </attributes>
  1052. </control>
  1053. </patterns>