UnityEngine.UIElements.xsd 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.UIElements.Debugger" elementFormDefault="qualified" targetNamespace="UnityEngine.UIElements" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:complexType name="UXMLType">
  4. <xs:complexContent mixed="false">
  5. <xs:restriction base="xs:anyType">
  6. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  7. <xs:element ref="engine:VisualElement" />
  8. </xs:sequence>
  9. </xs:restriction>
  10. </xs:complexContent>
  11. </xs:complexType>
  12. <xs:element name="UXML" type="engine:UXMLType" />
  13. <xs:simpleType name="VisualElement_picking-mode_Type">
  14. <xs:restriction base="xs:string">
  15. <xs:enumeration value="Position" />
  16. <xs:enumeration value="Ignore" />
  17. </xs:restriction>
  18. </xs:simpleType>
  19. <xs:simpleType name="VisualElement_usage-hints_Type">
  20. <xs:restriction base="xs:string">
  21. <xs:enumeration value="None" />
  22. <xs:enumeration value="DynamicTransform" />
  23. <xs:enumeration value="GroupTransform" />
  24. </xs:restriction>
  25. </xs:simpleType>
  26. <xs:complexType name="VisualElementType">
  27. <xs:complexContent mixed="false">
  28. <xs:restriction base="xs:anyType">
  29. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  30. <xs:element ref="engine:VisualElement" />
  31. </xs:sequence>
  32. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  33. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  34. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  35. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  36. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  37. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  38. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  39. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  40. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  41. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  42. <xs:anyAttribute processContents="lax" />
  43. </xs:restriction>
  44. </xs:complexContent>
  45. </xs:complexType>
  46. <xs:element name="VisualElement" type="engine:VisualElementType" />
  47. <xs:complexType name="IMGUIContainerType">
  48. <xs:complexContent mixed="false">
  49. <xs:restriction base="engine:VisualElementType">
  50. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  51. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  52. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  53. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  54. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  55. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  56. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  57. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  58. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  59. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  60. <xs:anyAttribute processContents="lax" />
  61. </xs:restriction>
  62. </xs:complexContent>
  63. </xs:complexType>
  64. <xs:element name="IMGUIContainer" substitutionGroup="engine:VisualElement" type="engine:IMGUIContainerType" />
  65. <xs:complexType name="ImageType">
  66. <xs:complexContent mixed="false">
  67. <xs:restriction base="engine:VisualElementType">
  68. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  69. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  70. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  71. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  72. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  73. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  74. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  75. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  76. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  77. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  78. <xs:anyAttribute processContents="lax" />
  79. </xs:restriction>
  80. </xs:complexContent>
  81. </xs:complexType>
  82. <xs:element name="Image" substitutionGroup="engine:VisualElement" type="engine:ImageType" />
  83. <xs:complexType name="LabelType">
  84. <xs:complexContent mixed="false">
  85. <xs:restriction base="engine:VisualElementType">
  86. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  87. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  88. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  89. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  90. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  91. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  92. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  93. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  94. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  95. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  96. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  97. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  98. <xs:anyAttribute processContents="lax" />
  99. </xs:restriction>
  100. </xs:complexContent>
  101. </xs:complexType>
  102. <xs:element name="Label" substitutionGroup="engine:VisualElement" type="engine:LabelType" />
  103. <xs:complexType name="RepeatButtonType">
  104. <xs:complexContent mixed="false">
  105. <xs:restriction base="engine:VisualElementType">
  106. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  107. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  108. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  109. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  110. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  111. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  112. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  113. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  114. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  115. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  116. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  117. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  118. <xs:attribute default="0" name="delay" type="xs:long" use="optional" />
  119. <xs:attribute default="0" name="interval" type="xs:long" use="optional" />
  120. <xs:anyAttribute processContents="lax" />
  121. </xs:restriction>
  122. </xs:complexContent>
  123. </xs:complexType>
  124. <xs:element name="RepeatButton" substitutionGroup="engine:VisualElement" type="engine:RepeatButtonType" />
  125. <xs:simpleType name="ScrollView_mode_Type">
  126. <xs:restriction base="xs:string">
  127. <xs:enumeration value="Vertical" />
  128. <xs:enumeration value="Horizontal" />
  129. <xs:enumeration value="VerticalAndHorizontal" />
  130. </xs:restriction>
  131. </xs:simpleType>
  132. <xs:complexType name="ScrollViewType">
  133. <xs:complexContent mixed="false">
  134. <xs:restriction base="engine:VisualElementType">
  135. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  136. <xs:element ref="engine:VisualElement" />
  137. </xs:sequence>
  138. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  139. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  140. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  141. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  142. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  143. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  144. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  145. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  146. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  147. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  148. <xs:attribute default="Vertical" name="mode" type="engine:ScrollView_mode_Type" use="optional" />
  149. <xs:attribute default="false" name="show-horizontal-scroller" type="xs:boolean" use="optional" />
  150. <xs:attribute default="false" name="show-vertical-scroller" type="xs:boolean" use="optional" />
  151. <xs:attribute default="20" name="horizontal-page-size" type="xs:float" use="optional" />
  152. <xs:attribute default="20" name="vertical-page-size" type="xs:float" use="optional" />
  153. <xs:anyAttribute processContents="lax" />
  154. </xs:restriction>
  155. </xs:complexContent>
  156. </xs:complexType>
  157. <xs:element name="ScrollView" substitutionGroup="engine:VisualElement" type="engine:ScrollViewType" />
  158. <xs:simpleType name="Scroller_direction_Type">
  159. <xs:restriction base="xs:string">
  160. <xs:enumeration value="Horizontal" />
  161. <xs:enumeration value="Vertical" />
  162. </xs:restriction>
  163. </xs:simpleType>
  164. <xs:complexType name="ScrollerType">
  165. <xs:complexContent mixed="false">
  166. <xs:restriction base="engine:VisualElementType">
  167. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  168. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  169. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  170. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  171. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  172. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  173. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  174. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  175. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  176. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  177. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  178. <xs:attribute default="0" name="high-value" type="xs:float" use="optional" />
  179. <xs:attribute default="Vertical" name="direction" type="engine:Scroller_direction_Type" use="optional" />
  180. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  181. <xs:anyAttribute processContents="lax" />
  182. </xs:restriction>
  183. </xs:complexContent>
  184. </xs:complexType>
  185. <xs:element name="Scroller" substitutionGroup="engine:VisualElement" type="engine:ScrollerType" />
  186. <xs:simpleType name="Slider_direction_Type">
  187. <xs:restriction base="xs:string">
  188. <xs:enumeration value="Horizontal" />
  189. <xs:enumeration value="Vertical" />
  190. </xs:restriction>
  191. </xs:simpleType>
  192. <xs:complexType name="SliderType">
  193. <xs:complexContent mixed="false">
  194. <xs:restriction base="engine:VisualElementType">
  195. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  196. <xs:element ref="engine:VisualElement" />
  197. </xs:sequence>
  198. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  199. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  200. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  201. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  202. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  203. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  204. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  205. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  206. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  207. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  208. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  209. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  210. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  211. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  212. <xs:attribute default="10" name="high-value" type="xs:float" use="optional" />
  213. <xs:attribute default="0" name="page-size" type="xs:float" use="optional" />
  214. <xs:attribute default="Horizontal" name="direction" type="engine:Slider_direction_Type" use="optional" />
  215. <xs:anyAttribute processContents="lax" />
  216. </xs:restriction>
  217. </xs:complexContent>
  218. </xs:complexType>
  219. <xs:element name="Slider" substitutionGroup="engine:VisualElement" type="engine:SliderType" />
  220. <xs:simpleType name="SliderInt_direction_Type">
  221. <xs:restriction base="xs:string">
  222. <xs:enumeration value="Horizontal" />
  223. <xs:enumeration value="Vertical" />
  224. </xs:restriction>
  225. </xs:simpleType>
  226. <xs:complexType name="SliderIntType">
  227. <xs:complexContent mixed="false">
  228. <xs:restriction base="engine:VisualElementType">
  229. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  230. <xs:element ref="engine:VisualElement" />
  231. </xs:sequence>
  232. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  233. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  234. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  235. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  236. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  237. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  238. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  239. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  240. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  241. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  242. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  243. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  244. <xs:attribute default="0" name="value" type="xs:int" use="optional" />
  245. <xs:attribute default="0" name="low-value" type="xs:int" use="optional" />
  246. <xs:attribute default="10" name="high-value" type="xs:int" use="optional" />
  247. <xs:attribute default="0" name="page-size" type="xs:int" use="optional" />
  248. <xs:attribute default="Horizontal" name="direction" type="engine:SliderInt_direction_Type" use="optional" />
  249. <xs:anyAttribute processContents="lax" />
  250. </xs:restriction>
  251. </xs:complexContent>
  252. </xs:complexType>
  253. <xs:element name="SliderInt" substitutionGroup="engine:VisualElement" type="engine:SliderIntType" />
  254. <xs:complexType name="MinMaxSliderType">
  255. <xs:complexContent mixed="false">
  256. <xs:restriction base="engine:VisualElementType">
  257. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  258. <xs:element ref="engine:VisualElement" />
  259. </xs:sequence>
  260. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  261. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  262. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  263. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  264. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  265. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  266. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  267. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  268. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  269. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  270. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  271. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  272. <xs:attribute default="0" name="min-value" type="xs:float" use="optional" />
  273. <xs:attribute default="10" name="max-value" type="xs:float" use="optional" />
  274. <xs:attribute default="-3.402823E+38" name="low-limit" type="xs:float" use="optional" />
  275. <xs:attribute default="3.402823E+38" name="high-limit" type="xs:float" use="optional" />
  276. <xs:anyAttribute processContents="lax" />
  277. </xs:restriction>
  278. </xs:complexContent>
  279. </xs:complexType>
  280. <xs:element name="MinMaxSlider" substitutionGroup="engine:VisualElement" type="engine:MinMaxSliderType" />
  281. <xs:complexType name="ToggleType">
  282. <xs:complexContent mixed="false">
  283. <xs:restriction base="engine:VisualElementType">
  284. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  285. <xs:element ref="engine:VisualElement" />
  286. </xs:sequence>
  287. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  288. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  289. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  290. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  291. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  292. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  293. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  294. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  295. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  296. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  297. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  298. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  299. <xs:attribute default="false" name="value" type="xs:boolean" use="optional" />
  300. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  301. <xs:anyAttribute processContents="lax" />
  302. </xs:restriction>
  303. </xs:complexContent>
  304. </xs:complexType>
  305. <xs:element name="Toggle" substitutionGroup="engine:VisualElement" type="engine:ToggleType" />
  306. <xs:complexType name="TextFieldType">
  307. <xs:complexContent mixed="false">
  308. <xs:restriction base="engine:VisualElementType">
  309. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  310. <xs:element ref="engine:VisualElement" />
  311. </xs:sequence>
  312. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  313. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  314. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  315. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  316. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  317. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  318. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  319. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  320. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  321. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  322. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  323. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  324. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  325. <xs:attribute default="-1" name="max-length" type="xs:int" use="optional" />
  326. <xs:attribute default="false" name="password" type="xs:boolean" use="optional" />
  327. <xs:attribute default="*" name="mask-character" type="xs:string" use="optional" />
  328. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  329. <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" />
  330. <xs:attribute default="false" name="multiline" type="xs:boolean" use="optional" />
  331. <xs:anyAttribute processContents="lax" />
  332. </xs:restriction>
  333. </xs:complexContent>
  334. </xs:complexType>
  335. <xs:element name="TextField" substitutionGroup="engine:VisualElement" type="engine:TextFieldType" />
  336. <xs:complexType name="TemplateContainerType">
  337. <xs:complexContent mixed="false">
  338. <xs:restriction base="engine:VisualElementType">
  339. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  340. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  341. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  342. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  343. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  344. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  345. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  346. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  347. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  348. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  349. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  350. <xs:attribute name="template" type="xs:string" use="required" />
  351. <xs:anyAttribute processContents="lax" />
  352. </xs:restriction>
  353. </xs:complexContent>
  354. </xs:complexType>
  355. <xs:element name="TemplateContainer" substitutionGroup="engine:VisualElement" type="engine:TemplateContainerType" />
  356. <xs:complexType name="BoxType">
  357. <xs:complexContent mixed="false">
  358. <xs:restriction base="engine:VisualElementType">
  359. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  360. <xs:element ref="engine:VisualElement" />
  361. </xs:sequence>
  362. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  363. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  364. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  365. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  366. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  367. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  368. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  369. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  370. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  371. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  372. <xs:anyAttribute processContents="lax" />
  373. </xs:restriction>
  374. </xs:complexContent>
  375. </xs:complexType>
  376. <xs:element name="Box" substitutionGroup="engine:VisualElement" type="engine:BoxType" />
  377. <xs:complexType name="PopupWindowType">
  378. <xs:complexContent mixed="false">
  379. <xs:restriction base="engine:VisualElementType">
  380. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  381. <xs:element ref="engine:VisualElement" />
  382. </xs:sequence>
  383. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  384. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  385. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  386. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  387. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  388. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  389. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  390. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  391. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  392. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  393. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  394. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  395. <xs:anyAttribute processContents="lax" />
  396. </xs:restriction>
  397. </xs:complexContent>
  398. </xs:complexType>
  399. <xs:element name="PopupWindow" substitutionGroup="engine:VisualElement" type="engine:PopupWindowType" />
  400. <xs:complexType name="ListViewType">
  401. <xs:complexContent mixed="false">
  402. <xs:restriction base="engine:VisualElementType">
  403. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  404. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  405. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  406. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  407. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  408. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  409. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  410. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  411. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  412. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  413. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  414. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  415. <xs:anyAttribute processContents="lax" />
  416. </xs:restriction>
  417. </xs:complexContent>
  418. </xs:complexType>
  419. <xs:element name="ListView" substitutionGroup="engine:VisualElement" type="engine:ListViewType" />
  420. <xs:complexType name="TreeViewType">
  421. <xs:complexContent mixed="false">
  422. <xs:restriction base="engine:VisualElementType">
  423. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  424. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  425. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  426. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  427. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  428. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  429. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  430. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  431. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  432. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  433. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  434. <xs:anyAttribute processContents="lax" />
  435. </xs:restriction>
  436. </xs:complexContent>
  437. </xs:complexType>
  438. <xs:element name="TreeView" substitutionGroup="engine:VisualElement" type="engine:TreeViewType" />
  439. <xs:complexType name="FoldoutType">
  440. <xs:complexContent mixed="false">
  441. <xs:restriction base="engine:VisualElementType">
  442. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  443. <xs:element ref="engine:VisualElement" />
  444. </xs:sequence>
  445. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  446. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  447. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  448. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  449. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  450. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  451. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  452. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  453. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  454. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  455. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  456. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  457. <xs:attribute default="true" name="value" type="xs:boolean" use="optional" />
  458. <xs:anyAttribute processContents="lax" />
  459. </xs:restriction>
  460. </xs:complexContent>
  461. </xs:complexType>
  462. <xs:element name="Foldout" substitutionGroup="engine:VisualElement" type="engine:FoldoutType" />
  463. <xs:complexType name="BindableElementType">
  464. <xs:complexContent mixed="false">
  465. <xs:restriction base="engine:VisualElementType">
  466. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  467. <xs:element ref="engine:VisualElement" />
  468. </xs:sequence>
  469. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  470. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  471. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  472. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  473. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  474. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  475. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  476. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  477. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  478. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  479. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  480. <xs:anyAttribute processContents="lax" />
  481. </xs:restriction>
  482. </xs:complexContent>
  483. </xs:complexType>
  484. <xs:element name="BindableElement" substitutionGroup="engine:VisualElement" type="engine:BindableElementType" />
  485. <xs:complexType name="TextElementType">
  486. <xs:complexContent mixed="false">
  487. <xs:restriction base="engine:VisualElementType">
  488. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  489. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  490. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  491. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  492. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  493. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  494. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  495. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  496. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  497. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  498. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  499. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  500. <xs:anyAttribute processContents="lax" />
  501. </xs:restriction>
  502. </xs:complexContent>
  503. </xs:complexType>
  504. <xs:element name="TextElement" substitutionGroup="engine:VisualElement" type="engine:TextElementType" />
  505. <xs:complexType name="ButtonType">
  506. <xs:complexContent mixed="false">
  507. <xs:restriction base="engine:VisualElementType">
  508. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  509. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  510. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  511. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  512. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  513. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  514. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  515. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  516. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  517. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  518. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  519. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  520. <xs:anyAttribute processContents="lax" />
  521. </xs:restriction>
  522. </xs:complexContent>
  523. </xs:complexType>
  524. <xs:element name="Button" substitutionGroup="engine:VisualElement" type="engine:ButtonType" />
  525. </xs:schema>