UnityEngine.UIElements.xsd 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.PackageManager.UI" 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:attribute default="" name="name" type="xs:string" use="optional" />
  10. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  11. <xs:anyAttribute processContents="lax" />
  12. </xs:restriction>
  13. </xs:complexContent>
  14. </xs:complexType>
  15. <xs:element name="UXML" type="engine:UXMLType" />
  16. <xs:simpleType name="VisualElement_picking-mode_Type">
  17. <xs:restriction base="xs:string">
  18. <xs:enumeration value="Position" />
  19. <xs:enumeration value="Ignore" />
  20. </xs:restriction>
  21. </xs:simpleType>
  22. <xs:simpleType name="VisualElement_usage-hints_Type">
  23. <xs:restriction base="xs:string">
  24. <xs:enumeration value="None" />
  25. <xs:enumeration value="DynamicTransform" />
  26. <xs:enumeration value="GroupTransform" />
  27. </xs:restriction>
  28. </xs:simpleType>
  29. <xs:complexType name="VisualElementType">
  30. <xs:complexContent mixed="false">
  31. <xs:restriction base="xs:anyType">
  32. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  33. <xs:element ref="engine:VisualElement" />
  34. </xs:sequence>
  35. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  36. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  37. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  38. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  39. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  40. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  41. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  42. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  43. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  44. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  45. <xs:anyAttribute processContents="lax" />
  46. </xs:restriction>
  47. </xs:complexContent>
  48. </xs:complexType>
  49. <xs:element name="VisualElement" type="engine:VisualElementType" />
  50. <xs:complexType name="IMGUIContainerType">
  51. <xs:complexContent mixed="false">
  52. <xs:restriction base="engine:VisualElementType">
  53. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  54. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  55. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  56. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  57. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  58. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  59. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  60. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  61. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  62. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  63. <xs:anyAttribute processContents="lax" />
  64. </xs:restriction>
  65. </xs:complexContent>
  66. </xs:complexType>
  67. <xs:element name="IMGUIContainer" substitutionGroup="engine:VisualElement" type="engine:IMGUIContainerType" />
  68. <xs:complexType name="ImageType">
  69. <xs:complexContent mixed="false">
  70. <xs:restriction base="engine:VisualElementType">
  71. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  72. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  73. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  74. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  75. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  76. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  77. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  78. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  79. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  80. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  81. <xs:anyAttribute processContents="lax" />
  82. </xs:restriction>
  83. </xs:complexContent>
  84. </xs:complexType>
  85. <xs:element name="Image" substitutionGroup="engine:VisualElement" type="engine:ImageType" />
  86. <xs:complexType name="LabelType">
  87. <xs:complexContent mixed="false">
  88. <xs:restriction base="engine:VisualElementType">
  89. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  90. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  91. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  92. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  93. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  94. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  95. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  96. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  97. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  98. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  99. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  100. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  101. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  102. <xs:anyAttribute processContents="lax" />
  103. </xs:restriction>
  104. </xs:complexContent>
  105. </xs:complexType>
  106. <xs:element name="Label" substitutionGroup="engine:VisualElement" type="engine:LabelType" />
  107. <xs:complexType name="RepeatButtonType">
  108. <xs:complexContent mixed="false">
  109. <xs:restriction base="engine:VisualElementType">
  110. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  111. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  112. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  113. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  114. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  115. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  116. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  117. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  118. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  119. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  120. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  121. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  122. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  123. <xs:attribute default="0" name="delay" type="xs:long" use="optional" />
  124. <xs:attribute default="0" name="interval" type="xs:long" use="optional" />
  125. <xs:anyAttribute processContents="lax" />
  126. </xs:restriction>
  127. </xs:complexContent>
  128. </xs:complexType>
  129. <xs:element name="RepeatButton" substitutionGroup="engine:VisualElement" type="engine:RepeatButtonType" />
  130. <xs:simpleType name="ScrollView_mode_Type">
  131. <xs:restriction base="xs:string">
  132. <xs:enumeration value="Vertical" />
  133. <xs:enumeration value="Horizontal" />
  134. <xs:enumeration value="VerticalAndHorizontal" />
  135. </xs:restriction>
  136. </xs:simpleType>
  137. <xs:simpleType name="ScrollView_touch-scroll-type_Type">
  138. <xs:restriction base="xs:string">
  139. <xs:enumeration value="Unrestricted" />
  140. <xs:enumeration value="Elastic" />
  141. <xs:enumeration value="Clamped" />
  142. </xs:restriction>
  143. </xs:simpleType>
  144. <xs:complexType name="ScrollViewType">
  145. <xs:complexContent mixed="false">
  146. <xs:restriction base="engine:VisualElementType">
  147. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  148. <xs:element ref="engine:VisualElement" />
  149. </xs:sequence>
  150. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  151. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  152. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  153. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  154. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  155. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  156. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  157. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  158. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  159. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  160. <xs:attribute default="Vertical" name="mode" type="engine:ScrollView_mode_Type" use="optional" />
  161. <xs:attribute default="false" name="show-horizontal-scroller" type="xs:boolean" use="optional" />
  162. <xs:attribute default="false" name="show-vertical-scroller" type="xs:boolean" use="optional" />
  163. <xs:attribute default="20" name="horizontal-page-size" type="xs:float" use="optional" />
  164. <xs:attribute default="20" name="vertical-page-size" type="xs:float" use="optional" />
  165. <xs:attribute default="Clamped" name="touch-scroll-type" type="engine:ScrollView_touch-scroll-type_Type" use="optional" />
  166. <xs:attribute default="0.135" name="scroll-deceleration-rate" type="xs:float" use="optional" />
  167. <xs:attribute default="0.1" name="elasticity" type="xs:float" use="optional" />
  168. <xs:anyAttribute processContents="lax" />
  169. </xs:restriction>
  170. </xs:complexContent>
  171. </xs:complexType>
  172. <xs:element name="ScrollView" substitutionGroup="engine:VisualElement" type="engine:ScrollViewType" />
  173. <xs:simpleType name="Scroller_direction_Type">
  174. <xs:restriction base="xs:string">
  175. <xs:enumeration value="Horizontal" />
  176. <xs:enumeration value="Vertical" />
  177. </xs:restriction>
  178. </xs:simpleType>
  179. <xs:complexType name="ScrollerType">
  180. <xs:complexContent mixed="false">
  181. <xs:restriction base="engine:VisualElementType">
  182. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  183. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  184. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  185. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  186. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  187. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  188. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  189. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  190. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  191. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  192. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  193. <xs:attribute default="0" name="high-value" type="xs:float" use="optional" />
  194. <xs:attribute default="Vertical" name="direction" type="engine:Scroller_direction_Type" use="optional" />
  195. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  196. <xs:anyAttribute processContents="lax" />
  197. </xs:restriction>
  198. </xs:complexContent>
  199. </xs:complexType>
  200. <xs:element name="Scroller" substitutionGroup="engine:VisualElement" type="engine:ScrollerType" />
  201. <xs:simpleType name="Slider_direction_Type">
  202. <xs:restriction base="xs:string">
  203. <xs:enumeration value="Horizontal" />
  204. <xs:enumeration value="Vertical" />
  205. </xs:restriction>
  206. </xs:simpleType>
  207. <xs:complexType name="SliderType">
  208. <xs:complexContent mixed="false">
  209. <xs:restriction base="engine:VisualElementType">
  210. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  211. <xs:element ref="engine:VisualElement" />
  212. </xs:sequence>
  213. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  214. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  215. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  216. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  217. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  218. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  219. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  220. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  221. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  222. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  223. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  224. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  225. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  226. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  227. <xs:attribute default="10" name="high-value" type="xs:float" use="optional" />
  228. <xs:attribute default="0" name="page-size" type="xs:float" use="optional" />
  229. <xs:attribute default="false" name="show-input-field" type="xs:boolean" use="optional" />
  230. <xs:attribute default="Horizontal" name="direction" type="engine:Slider_direction_Type" use="optional" />
  231. <xs:anyAttribute processContents="lax" />
  232. </xs:restriction>
  233. </xs:complexContent>
  234. </xs:complexType>
  235. <xs:element name="Slider" substitutionGroup="engine:VisualElement" type="engine:SliderType" />
  236. <xs:simpleType name="SliderInt_direction_Type">
  237. <xs:restriction base="xs:string">
  238. <xs:enumeration value="Horizontal" />
  239. <xs:enumeration value="Vertical" />
  240. </xs:restriction>
  241. </xs:simpleType>
  242. <xs:complexType name="SliderIntType">
  243. <xs:complexContent mixed="false">
  244. <xs:restriction base="engine:VisualElementType">
  245. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  246. <xs:element ref="engine:VisualElement" />
  247. </xs:sequence>
  248. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  249. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  250. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  251. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  252. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  253. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  254. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  255. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  256. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  257. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  258. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  259. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  260. <xs:attribute default="0" name="value" type="xs:int" use="optional" />
  261. <xs:attribute default="0" name="low-value" type="xs:int" use="optional" />
  262. <xs:attribute default="10" name="high-value" type="xs:int" use="optional" />
  263. <xs:attribute default="0" name="page-size" type="xs:int" use="optional" />
  264. <xs:attribute default="false" name="show-input-field" type="xs:boolean" use="optional" />
  265. <xs:attribute default="Horizontal" name="direction" type="engine:SliderInt_direction_Type" use="optional" />
  266. <xs:anyAttribute processContents="lax" />
  267. </xs:restriction>
  268. </xs:complexContent>
  269. </xs:complexType>
  270. <xs:element name="SliderInt" substitutionGroup="engine:VisualElement" type="engine:SliderIntType" />
  271. <xs:complexType name="MinMaxSliderType">
  272. <xs:complexContent mixed="false">
  273. <xs:restriction base="engine:VisualElementType">
  274. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  275. <xs:element ref="engine:VisualElement" />
  276. </xs:sequence>
  277. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  278. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  279. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  280. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  281. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  282. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  283. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  284. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  285. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  286. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  287. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  288. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  289. <xs:attribute default="0" name="min-value" type="xs:float" use="optional" />
  290. <xs:attribute default="10" name="max-value" type="xs:float" use="optional" />
  291. <xs:attribute default="-3.402823E+38" name="low-limit" type="xs:float" use="optional" />
  292. <xs:attribute default="3.402823E+38" name="high-limit" type="xs:float" use="optional" />
  293. <xs:anyAttribute processContents="lax" />
  294. </xs:restriction>
  295. </xs:complexContent>
  296. </xs:complexType>
  297. <xs:element name="MinMaxSlider" substitutionGroup="engine:VisualElement" type="engine:MinMaxSliderType" />
  298. <xs:complexType name="ToggleType">
  299. <xs:complexContent mixed="false">
  300. <xs:restriction base="engine:VisualElementType">
  301. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  302. <xs:element ref="engine:VisualElement" />
  303. </xs:sequence>
  304. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  305. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  306. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  307. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  308. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  309. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  310. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  311. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  312. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  313. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  314. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  315. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  316. <xs:attribute default="false" name="value" type="xs:boolean" use="optional" />
  317. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  318. <xs:anyAttribute processContents="lax" />
  319. </xs:restriction>
  320. </xs:complexContent>
  321. </xs:complexType>
  322. <xs:element name="Toggle" substitutionGroup="engine:VisualElement" type="engine:ToggleType" />
  323. <xs:complexType name="TextFieldType">
  324. <xs:complexContent mixed="false">
  325. <xs:restriction base="engine:VisualElementType">
  326. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  327. <xs:element ref="engine:VisualElement" />
  328. </xs:sequence>
  329. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  330. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  331. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  332. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  333. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  334. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  335. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  336. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  337. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  338. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  339. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  340. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  341. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  342. <xs:attribute default="-1" name="max-length" type="xs:int" use="optional" />
  343. <xs:attribute default="false" name="password" type="xs:boolean" use="optional" />
  344. <xs:attribute default="*" name="mask-character" type="xs:string" use="optional" />
  345. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  346. <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" />
  347. <xs:attribute default="false" name="multiline" type="xs:boolean" use="optional" />
  348. <xs:anyAttribute processContents="lax" />
  349. </xs:restriction>
  350. </xs:complexContent>
  351. </xs:complexType>
  352. <xs:element name="TextField" substitutionGroup="engine:VisualElement" type="engine:TextFieldType" />
  353. <xs:complexType name="InstanceType">
  354. <xs:complexContent mixed="false">
  355. <xs:restriction base="engine:VisualElementType">
  356. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  357. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  358. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  359. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  360. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  361. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  362. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  363. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  364. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  365. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  366. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  367. <xs:attribute name="template" type="xs:string" use="required" />
  368. <xs:anyAttribute processContents="lax" />
  369. </xs:restriction>
  370. </xs:complexContent>
  371. </xs:complexType>
  372. <xs:element name="Instance" substitutionGroup="engine:VisualElement" type="engine:InstanceType" />
  373. <xs:complexType name="BoxType">
  374. <xs:complexContent mixed="false">
  375. <xs:restriction base="engine:VisualElementType">
  376. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  377. <xs:element ref="engine:VisualElement" />
  378. </xs:sequence>
  379. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  380. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  381. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  382. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  383. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  384. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  385. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  386. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  387. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  388. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  389. <xs:anyAttribute processContents="lax" />
  390. </xs:restriction>
  391. </xs:complexContent>
  392. </xs:complexType>
  393. <xs:element name="Box" substitutionGroup="engine:VisualElement" type="engine:BoxType" />
  394. <xs:simpleType name="HelpBox_message-type_Type">
  395. <xs:restriction base="xs:string">
  396. <xs:enumeration value="None" />
  397. <xs:enumeration value="Info" />
  398. <xs:enumeration value="Warning" />
  399. <xs:enumeration value="Error" />
  400. </xs:restriction>
  401. </xs:simpleType>
  402. <xs:complexType name="HelpBoxType">
  403. <xs:complexContent mixed="false">
  404. <xs:restriction base="engine:VisualElementType">
  405. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  406. <xs:element ref="engine:VisualElement" />
  407. </xs:sequence>
  408. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  409. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  410. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  411. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  412. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  413. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  414. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  415. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  416. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  417. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  418. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  419. <xs:attribute default="None" name="message-type" type="engine:HelpBox_message-type_Type" use="optional" />
  420. <xs:anyAttribute processContents="lax" />
  421. </xs:restriction>
  422. </xs:complexContent>
  423. </xs:complexType>
  424. <xs:element name="HelpBox" substitutionGroup="engine:VisualElement" type="engine:HelpBoxType" />
  425. <xs:complexType name="PopupWindowType">
  426. <xs:complexContent mixed="false">
  427. <xs:restriction base="engine:VisualElementType">
  428. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  429. <xs:element ref="engine:VisualElement" />
  430. </xs:sequence>
  431. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  432. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  433. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  434. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  435. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  436. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  437. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  438. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  439. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  440. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  441. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  442. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  443. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  444. <xs:anyAttribute processContents="lax" />
  445. </xs:restriction>
  446. </xs:complexContent>
  447. </xs:complexType>
  448. <xs:element name="PopupWindow" substitutionGroup="engine:VisualElement" type="engine:PopupWindowType" />
  449. <xs:simpleType name="ListView_selection-type_Type">
  450. <xs:restriction base="xs:string">
  451. <xs:enumeration value="None" />
  452. <xs:enumeration value="Single" />
  453. <xs:enumeration value="Multiple" />
  454. </xs:restriction>
  455. </xs:simpleType>
  456. <xs:simpleType name="ListView_show-alternating-row-backgrounds_Type">
  457. <xs:restriction base="xs:string">
  458. <xs:enumeration value="None" />
  459. <xs:enumeration value="ContentOnly" />
  460. <xs:enumeration value="All" />
  461. </xs:restriction>
  462. </xs:simpleType>
  463. <xs:complexType name="ListViewType">
  464. <xs:complexContent mixed="false">
  465. <xs:restriction base="engine:VisualElementType">
  466. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  467. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  468. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  469. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  470. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  471. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  472. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  473. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  474. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  475. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  476. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  477. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  478. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  479. <xs:attribute default="Single" name="selection-type" type="engine:ListView_selection-type_Type" use="optional" />
  480. <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:ListView_show-alternating-row-backgrounds_Type" use="optional" />
  481. <xs:attribute default="false" name="reorderable" type="xs:boolean" use="optional" />
  482. <xs:attribute default="true" name="show-bound-collection-size" type="xs:boolean" use="optional" />
  483. <xs:attribute default="false" name="horizontal-scrolling" type="xs:boolean" use="optional" />
  484. <xs:anyAttribute processContents="lax" />
  485. </xs:restriction>
  486. </xs:complexContent>
  487. </xs:complexType>
  488. <xs:element name="ListView" substitutionGroup="engine:VisualElement" type="engine:ListViewType" />
  489. <xs:simpleType name="TwoPaneSplitView_orientation_Type">
  490. <xs:restriction base="xs:string">
  491. <xs:enumeration value="Horizontal" />
  492. <xs:enumeration value="Vertical" />
  493. </xs:restriction>
  494. </xs:simpleType>
  495. <xs:complexType name="TwoPaneSplitViewType">
  496. <xs:complexContent mixed="false">
  497. <xs:restriction base="engine:VisualElementType">
  498. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  499. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  500. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  501. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  502. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  503. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  504. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  505. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  506. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  507. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  508. <xs:attribute default="0" name="fixed-pane-index" type="xs:int" use="optional" />
  509. <xs:attribute default="100" name="fixed-pane-initial-dimension" type="xs:int" use="optional" />
  510. <xs:attribute default="Horizontal" name="orientation" type="engine:TwoPaneSplitView_orientation_Type" use="optional" />
  511. <xs:anyAttribute processContents="lax" />
  512. </xs:restriction>
  513. </xs:complexContent>
  514. </xs:complexType>
  515. <xs:element name="TwoPaneSplitView" substitutionGroup="engine:VisualElement" type="engine:TwoPaneSplitViewType" />
  516. <xs:simpleType name="TreeView_selection-type_Type">
  517. <xs:restriction base="xs:string">
  518. <xs:enumeration value="None" />
  519. <xs:enumeration value="Single" />
  520. <xs:enumeration value="Multiple" />
  521. </xs:restriction>
  522. </xs:simpleType>
  523. <xs:simpleType name="TreeView_show-alternating-row-backgrounds_Type">
  524. <xs:restriction base="xs:string">
  525. <xs:enumeration value="None" />
  526. <xs:enumeration value="ContentOnly" />
  527. <xs:enumeration value="All" />
  528. </xs:restriction>
  529. </xs:simpleType>
  530. <xs:complexType name="TreeViewType">
  531. <xs:complexContent mixed="false">
  532. <xs:restriction base="engine:VisualElementType">
  533. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  534. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  535. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  536. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  537. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  538. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  539. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  540. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  541. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  542. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  543. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  544. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  545. <xs:attribute default="Single" name="selection-type" type="engine:TreeView_selection-type_Type" use="optional" />
  546. <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:TreeView_show-alternating-row-backgrounds_Type" use="optional" />
  547. <xs:anyAttribute processContents="lax" />
  548. </xs:restriction>
  549. </xs:complexContent>
  550. </xs:complexType>
  551. <xs:element name="TreeView" substitutionGroup="engine:VisualElement" type="engine:TreeViewType" />
  552. <xs:complexType name="FoldoutType">
  553. <xs:complexContent mixed="false">
  554. <xs:restriction base="engine:VisualElementType">
  555. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  556. <xs:element ref="engine:VisualElement" />
  557. </xs:sequence>
  558. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  559. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  560. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  561. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  562. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  563. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  564. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  565. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  566. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  567. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  568. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  569. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  570. <xs:attribute default="true" name="value" type="xs:boolean" use="optional" />
  571. <xs:anyAttribute processContents="lax" />
  572. </xs:restriction>
  573. </xs:complexContent>
  574. </xs:complexType>
  575. <xs:element name="Foldout" substitutionGroup="engine:VisualElement" type="engine:FoldoutType" />
  576. <xs:complexType name="BindableElementType">
  577. <xs:complexContent mixed="false">
  578. <xs:restriction base="engine:VisualElementType">
  579. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  580. <xs:element ref="engine:VisualElement" />
  581. </xs:sequence>
  582. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  583. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  584. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  585. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  586. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  587. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  588. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  589. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  590. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  591. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  592. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  593. <xs:anyAttribute processContents="lax" />
  594. </xs:restriction>
  595. </xs:complexContent>
  596. </xs:complexType>
  597. <xs:element name="BindableElement" substitutionGroup="engine:VisualElement" type="engine:BindableElementType" />
  598. <xs:complexType name="TextElementType">
  599. <xs:complexContent mixed="false">
  600. <xs:restriction base="engine:VisualElementType">
  601. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  602. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  603. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  604. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  605. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  606. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  607. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  608. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  609. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  610. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  611. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  612. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  613. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  614. <xs:anyAttribute processContents="lax" />
  615. </xs:restriction>
  616. </xs:complexContent>
  617. </xs:complexType>
  618. <xs:element name="TextElement" substitutionGroup="engine:VisualElement" type="engine:TextElementType" />
  619. <xs:complexType name="TemplateType">
  620. <xs:complexContent mixed="false">
  621. <xs:restriction base="engine:VisualElementType">
  622. <xs:attribute name="name" type="xs:string" use="required" />
  623. <xs:attribute default="" name="path" type="xs:string" use="optional" />
  624. <xs:attribute default="" name="src" type="xs:string" use="optional" />
  625. <xs:anyAttribute processContents="lax" />
  626. </xs:restriction>
  627. </xs:complexContent>
  628. </xs:complexType>
  629. <xs:element name="Template" substitutionGroup="engine:VisualElement" type="engine:TemplateType" />
  630. <xs:complexType name="StyleType">
  631. <xs:complexContent mixed="false">
  632. <xs:restriction base="engine:VisualElementType">
  633. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  634. <xs:attribute default="" name="path" type="xs:string" use="optional" />
  635. <xs:attribute default="" name="src" type="xs:string" use="optional" />
  636. <xs:anyAttribute processContents="lax" />
  637. </xs:restriction>
  638. </xs:complexContent>
  639. </xs:complexType>
  640. <xs:element name="Style" substitutionGroup="engine:VisualElement" type="engine:StyleType" />
  641. <xs:complexType name="AttributeOverridesType">
  642. <xs:complexContent mixed="false">
  643. <xs:restriction base="engine:VisualElementType">
  644. <xs:attribute name="element-name" type="xs:string" use="required" />
  645. <xs:anyAttribute processContents="lax" />
  646. </xs:restriction>
  647. </xs:complexContent>
  648. </xs:complexType>
  649. <xs:element name="AttributeOverrides" substitutionGroup="engine:VisualElement" type="engine:AttributeOverridesType" />
  650. <xs:complexType name="ButtonType">
  651. <xs:complexContent mixed="false">
  652. <xs:restriction base="engine:VisualElementType">
  653. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  654. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  655. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  656. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  657. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  658. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  659. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  660. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  661. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  662. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  663. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  664. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  665. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  666. <xs:anyAttribute processContents="lax" />
  667. </xs:restriction>
  668. </xs:complexContent>
  669. </xs:complexType>
  670. <xs:element name="Button" substitutionGroup="engine:VisualElement" type="engine:ButtonType" />
  671. </xs:schema>