UnityEngine.UIElements.xsd 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns="UnityEditor.Overlays" 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:enumeration value="MaskContainer" />
  28. <xs:enumeration value="DynamicColor" />
  29. </xs:restriction>
  30. </xs:simpleType>
  31. <xs:complexType name="VisualElementType">
  32. <xs:complexContent mixed="false">
  33. <xs:restriction base="xs:anyType">
  34. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  35. <xs:element ref="engine:VisualElement" />
  36. </xs:sequence>
  37. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  38. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  39. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  40. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  41. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  42. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  43. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  44. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  45. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  46. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  47. <xs:anyAttribute processContents="lax" />
  48. </xs:restriction>
  49. </xs:complexContent>
  50. </xs:complexType>
  51. <xs:element name="VisualElement" type="engine:VisualElementType" />
  52. <xs:complexType name="IMGUIContainerType">
  53. <xs:complexContent mixed="false">
  54. <xs:restriction base="engine:VisualElementType">
  55. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  56. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  57. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  58. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  59. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  60. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  61. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  62. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  63. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  64. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  65. <xs:anyAttribute processContents="lax" />
  66. </xs:restriction>
  67. </xs:complexContent>
  68. </xs:complexType>
  69. <xs:element name="IMGUIContainer" substitutionGroup="engine:VisualElement" type="engine:IMGUIContainerType" />
  70. <xs:complexType name="ImageType">
  71. <xs:complexContent mixed="false">
  72. <xs:restriction base="engine:VisualElementType">
  73. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  74. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  75. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  76. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  77. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  78. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  79. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  80. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  81. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  82. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  83. <xs:anyAttribute processContents="lax" />
  84. </xs:restriction>
  85. </xs:complexContent>
  86. </xs:complexType>
  87. <xs:element name="Image" substitutionGroup="engine:VisualElement" type="engine:ImageType" />
  88. <xs:complexType name="LabelType">
  89. <xs:complexContent mixed="false">
  90. <xs:restriction base="engine:VisualElementType">
  91. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  92. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  93. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  94. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  95. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  96. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  97. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  98. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  99. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  100. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  101. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  102. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  103. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  104. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  105. <xs:anyAttribute processContents="lax" />
  106. </xs:restriction>
  107. </xs:complexContent>
  108. </xs:complexType>
  109. <xs:element name="Label" substitutionGroup="engine:VisualElement" type="engine:LabelType" />
  110. <xs:complexType name="RepeatButtonType">
  111. <xs:complexContent mixed="false">
  112. <xs:restriction base="engine:VisualElementType">
  113. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  114. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  115. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  116. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  117. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  118. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  119. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  120. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  121. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  122. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  123. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  124. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  125. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  126. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  127. <xs:attribute default="0" name="delay" type="xs:long" use="optional" />
  128. <xs:attribute default="0" name="interval" type="xs:long" use="optional" />
  129. <xs:anyAttribute processContents="lax" />
  130. </xs:restriction>
  131. </xs:complexContent>
  132. </xs:complexType>
  133. <xs:element name="RepeatButton" substitutionGroup="engine:VisualElement" type="engine:RepeatButtonType" />
  134. <xs:simpleType name="ScrollView_mode_Type">
  135. <xs:restriction base="xs:string">
  136. <xs:enumeration value="Vertical" />
  137. <xs:enumeration value="Horizontal" />
  138. <xs:enumeration value="VerticalAndHorizontal" />
  139. </xs:restriction>
  140. </xs:simpleType>
  141. <xs:simpleType name="ScrollView_nested-interaction-kind_Type">
  142. <xs:restriction base="xs:string">
  143. <xs:enumeration value="Default" />
  144. <xs:enumeration value="StopScrolling" />
  145. <xs:enumeration value="ForwardScrolling" />
  146. </xs:restriction>
  147. </xs:simpleType>
  148. <xs:simpleType name="ScrollView_horizontal-scroller-visibility_Type">
  149. <xs:restriction base="xs:string">
  150. <xs:enumeration value="Auto" />
  151. <xs:enumeration value="AlwaysVisible" />
  152. <xs:enumeration value="Hidden" />
  153. </xs:restriction>
  154. </xs:simpleType>
  155. <xs:simpleType name="ScrollView_vertical-scroller-visibility_Type">
  156. <xs:restriction base="xs:string">
  157. <xs:enumeration value="Auto" />
  158. <xs:enumeration value="AlwaysVisible" />
  159. <xs:enumeration value="Hidden" />
  160. </xs:restriction>
  161. </xs:simpleType>
  162. <xs:simpleType name="ScrollView_touch-scroll-type_Type">
  163. <xs:restriction base="xs:string">
  164. <xs:enumeration value="Unrestricted" />
  165. <xs:enumeration value="Elastic" />
  166. <xs:enumeration value="Clamped" />
  167. </xs:restriction>
  168. </xs:simpleType>
  169. <xs:complexType name="ScrollViewType">
  170. <xs:complexContent mixed="false">
  171. <xs:restriction base="engine:VisualElementType">
  172. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  173. <xs:element ref="engine:VisualElement" />
  174. </xs:sequence>
  175. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  176. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  177. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  178. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  179. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  180. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  181. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  182. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  183. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  184. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  185. <xs:attribute default="Vertical" name="mode" type="engine:ScrollView_mode_Type" use="optional" />
  186. <xs:attribute default="Default" name="nested-interaction-kind" type="engine:ScrollView_nested-interaction-kind_Type" use="optional" />
  187. <xs:attribute default="false" name="show-horizontal-scroller" type="xs:boolean" use="optional" />
  188. <xs:attribute default="false" name="show-vertical-scroller" type="xs:boolean" use="optional" />
  189. <xs:attribute default="Auto" name="horizontal-scroller-visibility" type="engine:ScrollView_horizontal-scroller-visibility_Type" use="optional" />
  190. <xs:attribute default="Auto" name="vertical-scroller-visibility" type="engine:ScrollView_vertical-scroller-visibility_Type" use="optional" />
  191. <xs:attribute default="-1" name="horizontal-page-size" type="xs:float" use="optional" />
  192. <xs:attribute default="-1" name="vertical-page-size" type="xs:float" use="optional" />
  193. <xs:attribute default="Clamped" name="touch-scroll-type" type="engine:ScrollView_touch-scroll-type_Type" use="optional" />
  194. <xs:attribute default="0.135" name="scroll-deceleration-rate" type="xs:float" use="optional" />
  195. <xs:attribute default="0.1" name="elasticity" type="xs:float" use="optional" />
  196. <xs:anyAttribute processContents="lax" />
  197. </xs:restriction>
  198. </xs:complexContent>
  199. </xs:complexType>
  200. <xs:element name="ScrollView" substitutionGroup="engine:VisualElement" type="engine:ScrollViewType" />
  201. <xs:simpleType name="Scroller_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="ScrollerType">
  208. <xs:complexContent mixed="false">
  209. <xs:restriction base="engine:VisualElementType">
  210. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  211. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  212. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  213. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  214. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  215. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  216. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  217. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  218. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  219. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  220. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  221. <xs:attribute default="0" name="high-value" type="xs:float" use="optional" />
  222. <xs:attribute default="Vertical" name="direction" type="engine:Scroller_direction_Type" use="optional" />
  223. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  224. <xs:anyAttribute processContents="lax" />
  225. </xs:restriction>
  226. </xs:complexContent>
  227. </xs:complexType>
  228. <xs:element name="Scroller" substitutionGroup="engine:VisualElement" type="engine:ScrollerType" />
  229. <xs:simpleType name="Slider_direction_Type">
  230. <xs:restriction base="xs:string">
  231. <xs:enumeration value="Horizontal" />
  232. <xs:enumeration value="Vertical" />
  233. </xs:restriction>
  234. </xs:simpleType>
  235. <xs:complexType name="SliderType">
  236. <xs:complexContent mixed="false">
  237. <xs:restriction base="engine:VisualElementType">
  238. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  239. <xs:element ref="engine:VisualElement" />
  240. </xs:sequence>
  241. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  242. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  243. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  244. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  245. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  246. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  247. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  248. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  249. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  250. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  251. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  252. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  253. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  254. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  255. <xs:attribute default="10" name="high-value" type="xs:float" use="optional" />
  256. <xs:attribute default="0" name="page-size" type="xs:float" use="optional" />
  257. <xs:attribute default="false" name="show-input-field" type="xs:boolean" use="optional" />
  258. <xs:attribute default="Horizontal" name="direction" type="engine:Slider_direction_Type" use="optional" />
  259. <xs:attribute default="false" name="inverted" type="xs:boolean" use="optional" />
  260. <xs:anyAttribute processContents="lax" />
  261. </xs:restriction>
  262. </xs:complexContent>
  263. </xs:complexType>
  264. <xs:element name="Slider" substitutionGroup="engine:VisualElement" type="engine:SliderType" />
  265. <xs:simpleType name="SliderInt_direction_Type">
  266. <xs:restriction base="xs:string">
  267. <xs:enumeration value="Horizontal" />
  268. <xs:enumeration value="Vertical" />
  269. </xs:restriction>
  270. </xs:simpleType>
  271. <xs:complexType name="SliderIntType">
  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="value" type="xs:int" use="optional" />
  290. <xs:attribute default="0" name="low-value" type="xs:int" use="optional" />
  291. <xs:attribute default="10" name="high-value" type="xs:int" use="optional" />
  292. <xs:attribute default="0" name="page-size" type="xs:int" use="optional" />
  293. <xs:attribute default="false" name="show-input-field" type="xs:boolean" use="optional" />
  294. <xs:attribute default="Horizontal" name="direction" type="engine:SliderInt_direction_Type" use="optional" />
  295. <xs:attribute default="false" name="inverted" type="xs:boolean" use="optional" />
  296. <xs:anyAttribute processContents="lax" />
  297. </xs:restriction>
  298. </xs:complexContent>
  299. </xs:complexType>
  300. <xs:element name="SliderInt" substitutionGroup="engine:VisualElement" type="engine:SliderIntType" />
  301. <xs:complexType name="MinMaxSliderType">
  302. <xs:complexContent mixed="false">
  303. <xs:restriction base="engine:VisualElementType">
  304. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  305. <xs:element ref="engine:VisualElement" />
  306. </xs:sequence>
  307. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  308. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  309. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  310. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  311. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  312. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  313. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  314. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  315. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  316. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  317. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  318. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  319. <xs:attribute default="0" name="min-value" type="xs:float" use="optional" />
  320. <xs:attribute default="10" name="max-value" type="xs:float" use="optional" />
  321. <xs:attribute default="-3.402823E+38" name="low-limit" type="xs:float" use="optional" />
  322. <xs:attribute default="3.402823E+38" name="high-limit" type="xs:float" use="optional" />
  323. <xs:anyAttribute processContents="lax" />
  324. </xs:restriction>
  325. </xs:complexContent>
  326. </xs:complexType>
  327. <xs:element name="MinMaxSlider" substitutionGroup="engine:VisualElement" type="engine:MinMaxSliderType" />
  328. <xs:complexType name="GroupBoxType">
  329. <xs:complexContent mixed="false">
  330. <xs:restriction base="engine:VisualElementType">
  331. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  332. <xs:element ref="engine:VisualElement" />
  333. </xs:sequence>
  334. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  335. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  336. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  337. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  338. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  339. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  340. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  341. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  342. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  343. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  344. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  345. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  346. <xs:anyAttribute processContents="lax" />
  347. </xs:restriction>
  348. </xs:complexContent>
  349. </xs:complexType>
  350. <xs:element name="GroupBox" substitutionGroup="engine:VisualElement" type="engine:GroupBoxType" />
  351. <xs:complexType name="RadioButtonType">
  352. <xs:complexContent mixed="false">
  353. <xs:restriction base="engine:VisualElementType">
  354. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  355. <xs:element ref="engine:VisualElement" />
  356. </xs:sequence>
  357. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  358. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  359. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  360. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  361. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  362. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  363. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  364. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  365. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  366. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  367. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  368. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  369. <xs:attribute default="false" name="value" type="xs:boolean" use="optional" />
  370. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  371. <xs:anyAttribute processContents="lax" />
  372. </xs:restriction>
  373. </xs:complexContent>
  374. </xs:complexType>
  375. <xs:element name="RadioButton" substitutionGroup="engine:VisualElement" type="engine:RadioButtonType" />
  376. <xs:complexType name="RadioButtonGroupType">
  377. <xs:complexContent mixed="false">
  378. <xs:restriction base="engine:VisualElementType">
  379. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  380. <xs:element ref="engine:VisualElement" />
  381. </xs:sequence>
  382. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  383. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  384. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  385. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  386. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  387. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  388. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  389. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  390. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  391. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  392. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  393. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  394. <xs:attribute default="0" name="value" type="xs:int" use="optional" />
  395. <xs:attribute default="" name="choices" type="xs:string" use="optional" />
  396. <xs:anyAttribute processContents="lax" />
  397. </xs:restriction>
  398. </xs:complexContent>
  399. </xs:complexType>
  400. <xs:element name="RadioButtonGroup" substitutionGroup="engine:VisualElement" type="engine:RadioButtonGroupType" />
  401. <xs:complexType name="ToggleType">
  402. <xs:complexContent mixed="false">
  403. <xs:restriction base="engine:VisualElementType">
  404. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  405. <xs:element ref="engine:VisualElement" />
  406. </xs:sequence>
  407. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  408. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  409. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  410. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  411. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  412. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  413. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  414. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  415. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  416. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  417. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  418. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  419. <xs:attribute default="false" name="value" type="xs:boolean" use="optional" />
  420. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  421. <xs:anyAttribute processContents="lax" />
  422. </xs:restriction>
  423. </xs:complexContent>
  424. </xs:complexType>
  425. <xs:element name="Toggle" substitutionGroup="engine:VisualElement" type="engine:ToggleType" />
  426. <xs:complexType name="TextFieldType">
  427. <xs:complexContent mixed="false">
  428. <xs:restriction base="engine:VisualElementType">
  429. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  430. <xs:element ref="engine:VisualElement" />
  431. </xs:sequence>
  432. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  433. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  434. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  435. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  436. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  437. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  438. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  439. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  440. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  441. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  442. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  443. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  444. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  445. <xs:attribute default="-1" name="max-length" type="xs:int" use="optional" />
  446. <xs:attribute default="false" name="password" type="xs:boolean" use="optional" />
  447. <xs:attribute default="*" name="mask-character" type="xs:string" use="optional" />
  448. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  449. <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" />
  450. <xs:attribute default="false" name="is-delayed" type="xs:boolean" use="optional" />
  451. <xs:attribute default="false" name="multiline" type="xs:boolean" use="optional" />
  452. <xs:anyAttribute processContents="lax" />
  453. </xs:restriction>
  454. </xs:complexContent>
  455. </xs:complexType>
  456. <xs:element name="TextField" substitutionGroup="engine:VisualElement" type="engine:TextFieldType" />
  457. <xs:complexType name="InstanceType">
  458. <xs:complexContent mixed="false">
  459. <xs:restriction base="engine:VisualElementType">
  460. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  461. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  462. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  463. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  464. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  465. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  466. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  467. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  468. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  469. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  470. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  471. <xs:attribute name="template" type="xs:string" use="required" />
  472. <xs:anyAttribute processContents="lax" />
  473. </xs:restriction>
  474. </xs:complexContent>
  475. </xs:complexType>
  476. <xs:element name="Instance" substitutionGroup="engine:VisualElement" type="engine:InstanceType" />
  477. <xs:complexType name="BoxType">
  478. <xs:complexContent mixed="false">
  479. <xs:restriction base="engine:VisualElementType">
  480. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  481. <xs:element ref="engine:VisualElement" />
  482. </xs:sequence>
  483. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  484. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  485. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  486. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  487. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  488. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  489. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  490. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  491. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  492. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  493. <xs:anyAttribute processContents="lax" />
  494. </xs:restriction>
  495. </xs:complexContent>
  496. </xs:complexType>
  497. <xs:element name="Box" substitutionGroup="engine:VisualElement" type="engine:BoxType" />
  498. <xs:complexType name="DropdownFieldType">
  499. <xs:complexContent mixed="false">
  500. <xs:restriction base="engine:VisualElementType">
  501. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  502. <xs:element ref="engine:VisualElement" />
  503. </xs:sequence>
  504. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  505. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  506. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  507. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  508. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  509. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  510. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  511. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  512. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  513. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  514. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  515. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  516. <xs:attribute default="0" name="index" type="xs:int" use="optional" />
  517. <xs:attribute default="" name="choices" type="xs:string" use="optional" />
  518. <xs:anyAttribute processContents="lax" />
  519. </xs:restriction>
  520. </xs:complexContent>
  521. </xs:complexType>
  522. <xs:element name="DropdownField" substitutionGroup="engine:VisualElement" type="engine:DropdownFieldType" />
  523. <xs:simpleType name="HelpBox_message-type_Type">
  524. <xs:restriction base="xs:string">
  525. <xs:enumeration value="None" />
  526. <xs:enumeration value="Info" />
  527. <xs:enumeration value="Warning" />
  528. <xs:enumeration value="Error" />
  529. </xs:restriction>
  530. </xs:simpleType>
  531. <xs:complexType name="HelpBoxType">
  532. <xs:complexContent mixed="false">
  533. <xs:restriction base="engine:VisualElementType">
  534. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  535. <xs:element ref="engine:VisualElement" />
  536. </xs:sequence>
  537. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  538. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  539. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  540. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  541. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  542. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  543. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  544. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  545. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  546. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  547. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  548. <xs:attribute default="None" name="message-type" type="engine:HelpBox_message-type_Type" use="optional" />
  549. <xs:anyAttribute processContents="lax" />
  550. </xs:restriction>
  551. </xs:complexContent>
  552. </xs:complexType>
  553. <xs:element name="HelpBox" substitutionGroup="engine:VisualElement" type="engine:HelpBoxType" />
  554. <xs:complexType name="PopupWindowType">
  555. <xs:complexContent mixed="false">
  556. <xs:restriction base="engine:VisualElementType">
  557. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  558. <xs:element ref="engine:VisualElement" />
  559. </xs:sequence>
  560. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  561. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  562. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  563. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  564. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  565. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  566. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  567. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  568. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  569. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  570. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  571. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  572. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  573. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  574. <xs:anyAttribute processContents="lax" />
  575. </xs:restriction>
  576. </xs:complexContent>
  577. </xs:complexType>
  578. <xs:element name="PopupWindow" substitutionGroup="engine:VisualElement" type="engine:PopupWindowType" />
  579. <xs:complexType name="ProgressBarType">
  580. <xs:complexContent mixed="false">
  581. <xs:restriction base="engine:VisualElementType">
  582. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  583. <xs:element ref="engine:VisualElement" />
  584. </xs:sequence>
  585. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  586. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  587. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  588. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  589. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  590. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  591. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  592. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  593. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  594. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  595. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  596. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  597. <xs:attribute default="100" name="high-value" type="xs:float" use="optional" />
  598. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  599. <xs:attribute default="" name="title" type="xs:string" use="optional" />
  600. <xs:anyAttribute processContents="lax" />
  601. </xs:restriction>
  602. </xs:complexContent>
  603. </xs:complexType>
  604. <xs:element name="ProgressBar" substitutionGroup="engine:VisualElement" type="engine:ProgressBarType" />
  605. <xs:simpleType name="ListView_virtualization-method_Type">
  606. <xs:restriction base="xs:string">
  607. <xs:enumeration value="FixedHeight" />
  608. <xs:enumeration value="DynamicHeight" />
  609. </xs:restriction>
  610. </xs:simpleType>
  611. <xs:simpleType name="ListView_selection-type_Type">
  612. <xs:restriction base="xs:string">
  613. <xs:enumeration value="None" />
  614. <xs:enumeration value="Single" />
  615. <xs:enumeration value="Multiple" />
  616. </xs:restriction>
  617. </xs:simpleType>
  618. <xs:simpleType name="ListView_show-alternating-row-backgrounds_Type">
  619. <xs:restriction base="xs:string">
  620. <xs:enumeration value="None" />
  621. <xs:enumeration value="ContentOnly" />
  622. <xs:enumeration value="All" />
  623. </xs:restriction>
  624. </xs:simpleType>
  625. <xs:simpleType name="ListView_reorder-mode_Type">
  626. <xs:restriction base="xs:string">
  627. <xs:enumeration value="Simple" />
  628. <xs:enumeration value="Animated" />
  629. </xs:restriction>
  630. </xs:simpleType>
  631. <xs:complexType name="ListViewType">
  632. <xs:complexContent mixed="false">
  633. <xs:restriction base="engine:VisualElementType">
  634. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  635. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  636. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  637. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  638. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  639. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  640. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  641. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  642. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  643. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  644. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  645. <xs:attribute default="30" name="fixed-item-height" type="xs:int" use="optional" />
  646. <xs:attribute default="FixedHeight" name="virtualization-method" type="engine:ListView_virtualization-method_Type" use="optional" />
  647. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  648. <xs:attribute default="Single" name="selection-type" type="engine:ListView_selection-type_Type" use="optional" />
  649. <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:ListView_show-alternating-row-backgrounds_Type" use="optional" />
  650. <xs:attribute default="false" name="show-foldout-header" type="xs:boolean" use="optional" />
  651. <xs:attribute default="" name="header-title" type="xs:string" use="optional" />
  652. <xs:attribute default="false" name="show-add-remove-footer" type="xs:boolean" use="optional" />
  653. <xs:attribute default="false" name="reorderable" type="xs:boolean" use="optional" />
  654. <xs:attribute default="Simple" name="reorder-mode" type="engine:ListView_reorder-mode_Type" use="optional" />
  655. <xs:attribute default="true" name="show-bound-collection-size" type="xs:boolean" use="optional" />
  656. <xs:attribute default="false" name="horizontal-scrolling" type="xs:boolean" use="optional" />
  657. <xs:anyAttribute processContents="lax" />
  658. </xs:restriction>
  659. </xs:complexContent>
  660. </xs:complexType>
  661. <xs:element name="ListView" substitutionGroup="engine:VisualElement" type="engine:ListViewType" />
  662. <xs:simpleType name="TwoPaneSplitView_orientation_Type">
  663. <xs:restriction base="xs:string">
  664. <xs:enumeration value="Horizontal" />
  665. <xs:enumeration value="Vertical" />
  666. </xs:restriction>
  667. </xs:simpleType>
  668. <xs:complexType name="TwoPaneSplitViewType">
  669. <xs:complexContent mixed="false">
  670. <xs:restriction base="engine:VisualElementType">
  671. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  672. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  673. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  674. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  675. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  676. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  677. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  678. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  679. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  680. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  681. <xs:attribute default="0" name="fixed-pane-index" type="xs:int" use="optional" />
  682. <xs:attribute default="100" name="fixed-pane-initial-dimension" type="xs:int" use="optional" />
  683. <xs:attribute default="Horizontal" name="orientation" type="engine:TwoPaneSplitView_orientation_Type" use="optional" />
  684. <xs:anyAttribute processContents="lax" />
  685. </xs:restriction>
  686. </xs:complexContent>
  687. </xs:complexType>
  688. <xs:element name="TwoPaneSplitView" substitutionGroup="engine:VisualElement" type="engine:TwoPaneSplitViewType" />
  689. <xs:simpleType name="InternalTreeView_selection-type_Type">
  690. <xs:restriction base="xs:string">
  691. <xs:enumeration value="None" />
  692. <xs:enumeration value="Single" />
  693. <xs:enumeration value="Multiple" />
  694. </xs:restriction>
  695. </xs:simpleType>
  696. <xs:simpleType name="InternalTreeView_show-alternating-row-backgrounds_Type">
  697. <xs:restriction base="xs:string">
  698. <xs:enumeration value="None" />
  699. <xs:enumeration value="ContentOnly" />
  700. <xs:enumeration value="All" />
  701. </xs:restriction>
  702. </xs:simpleType>
  703. <xs:complexType name="InternalTreeViewType">
  704. <xs:complexContent mixed="false">
  705. <xs:restriction base="engine:VisualElementType">
  706. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  707. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  708. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  709. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  710. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  711. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  712. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  713. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  714. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  715. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  716. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  717. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  718. <xs:attribute default="Single" name="selection-type" type="engine:InternalTreeView_selection-type_Type" use="optional" />
  719. <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:InternalTreeView_show-alternating-row-backgrounds_Type" use="optional" />
  720. <xs:anyAttribute processContents="lax" />
  721. </xs:restriction>
  722. </xs:complexContent>
  723. </xs:complexType>
  724. <xs:element name="InternalTreeView" substitutionGroup="engine:VisualElement" type="engine:InternalTreeViewType" />
  725. <xs:simpleType name="TreeView_selection-type_Type">
  726. <xs:restriction base="xs:string">
  727. <xs:enumeration value="None" />
  728. <xs:enumeration value="Single" />
  729. <xs:enumeration value="Multiple" />
  730. </xs:restriction>
  731. </xs:simpleType>
  732. <xs:simpleType name="TreeView_show-alternating-row-backgrounds_Type">
  733. <xs:restriction base="xs:string">
  734. <xs:enumeration value="None" />
  735. <xs:enumeration value="ContentOnly" />
  736. <xs:enumeration value="All" />
  737. </xs:restriction>
  738. </xs:simpleType>
  739. <xs:complexType name="TreeViewType">
  740. <xs:complexContent mixed="false">
  741. <xs:restriction base="engine:VisualElementType">
  742. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  743. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  744. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  745. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  746. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  747. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  748. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  749. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  750. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  751. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  752. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  753. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  754. <xs:attribute default="Single" name="selection-type" type="engine:TreeView_selection-type_Type" use="optional" />
  755. <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:TreeView_show-alternating-row-backgrounds_Type" use="optional" />
  756. <xs:anyAttribute processContents="lax" />
  757. </xs:restriction>
  758. </xs:complexContent>
  759. </xs:complexType>
  760. <xs:element name="TreeView" substitutionGroup="engine:VisualElement" type="engine:TreeViewType" />
  761. <xs:complexType name="FoldoutType">
  762. <xs:complexContent mixed="false">
  763. <xs:restriction base="engine:VisualElementType">
  764. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  765. <xs:element ref="engine:VisualElement" />
  766. </xs:sequence>
  767. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  768. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  769. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  770. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  771. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  772. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  773. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  774. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  775. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  776. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  777. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  778. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  779. <xs:attribute default="true" name="value" type="xs:boolean" use="optional" />
  780. <xs:anyAttribute processContents="lax" />
  781. </xs:restriction>
  782. </xs:complexContent>
  783. </xs:complexType>
  784. <xs:element name="Foldout" substitutionGroup="engine:VisualElement" type="engine:FoldoutType" />
  785. <xs:complexType name="BindableElementType">
  786. <xs:complexContent mixed="false">
  787. <xs:restriction base="engine:VisualElementType">
  788. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  789. <xs:element ref="engine:VisualElement" />
  790. </xs:sequence>
  791. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  792. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  793. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  794. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  795. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  796. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  797. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  798. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  799. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  800. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  801. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  802. <xs:anyAttribute processContents="lax" />
  803. </xs:restriction>
  804. </xs:complexContent>
  805. </xs:complexType>
  806. <xs:element name="BindableElement" substitutionGroup="engine:VisualElement" type="engine:BindableElementType" />
  807. <xs:complexType name="TextElementType">
  808. <xs:complexContent mixed="false">
  809. <xs:restriction base="engine:VisualElementType">
  810. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  811. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  812. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  813. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  814. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  815. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  816. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  817. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  818. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  819. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  820. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  821. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  822. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  823. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  824. <xs:anyAttribute processContents="lax" />
  825. </xs:restriction>
  826. </xs:complexContent>
  827. </xs:complexType>
  828. <xs:element name="TextElement" substitutionGroup="engine:VisualElement" type="engine:TextElementType" />
  829. <xs:complexType name="ButtonStripFieldType">
  830. <xs:complexContent mixed="false">
  831. <xs:restriction base="engine:VisualElementType">
  832. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  833. <xs:element ref="engine:VisualElement" />
  834. </xs:sequence>
  835. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  836. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  837. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  838. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  839. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  840. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  841. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  842. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  843. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  844. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  845. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  846. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  847. <xs:anyAttribute processContents="lax" />
  848. </xs:restriction>
  849. </xs:complexContent>
  850. </xs:complexType>
  851. <xs:element name="ButtonStripField" substitutionGroup="engine:VisualElement" type="engine:ButtonStripFieldType" />
  852. <xs:complexType name="TemplateType">
  853. <xs:complexContent mixed="false">
  854. <xs:restriction base="engine:VisualElementType">
  855. <xs:attribute name="name" type="xs:string" use="required" />
  856. <xs:attribute default="" name="path" type="xs:string" use="optional" />
  857. <xs:attribute default="" name="src" type="xs:string" use="optional" />
  858. <xs:anyAttribute processContents="lax" />
  859. </xs:restriction>
  860. </xs:complexContent>
  861. </xs:complexType>
  862. <xs:element name="Template" substitutionGroup="engine:VisualElement" type="engine:TemplateType" />
  863. <xs:complexType name="StyleType">
  864. <xs:complexContent mixed="false">
  865. <xs:restriction base="engine:VisualElementType">
  866. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  867. <xs:attribute default="" name="path" type="xs:string" use="optional" />
  868. <xs:attribute default="" name="src" type="xs:string" use="optional" />
  869. <xs:anyAttribute processContents="lax" />
  870. </xs:restriction>
  871. </xs:complexContent>
  872. </xs:complexType>
  873. <xs:element name="Style" substitutionGroup="engine:VisualElement" type="engine:StyleType" />
  874. <xs:complexType name="AttributeOverridesType">
  875. <xs:complexContent mixed="false">
  876. <xs:restriction base="engine:VisualElementType">
  877. <xs:attribute name="element-name" type="xs:string" use="required" />
  878. <xs:anyAttribute processContents="lax" />
  879. </xs:restriction>
  880. </xs:complexContent>
  881. </xs:complexType>
  882. <xs:element name="AttributeOverrides" substitutionGroup="engine:VisualElement" type="engine:AttributeOverridesType" />
  883. <xs:complexType name="ButtonType">
  884. <xs:complexContent mixed="false">
  885. <xs:restriction base="engine:VisualElementType">
  886. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  887. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  888. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  889. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  890. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  891. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  892. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  893. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  894. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  895. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  896. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  897. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  898. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  899. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  900. <xs:anyAttribute processContents="lax" />
  901. </xs:restriction>
  902. </xs:complexContent>
  903. </xs:complexType>
  904. <xs:element name="Button" substitutionGroup="engine:VisualElement" type="engine:ButtonType" />
  905. </xs:schema>