UnityEngine.UIElements.xsd 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906
  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="18" name="mouse-wheel-scroll-size" type="xs:float" use="optional" />
  194. <xs:attribute default="Clamped" name="touch-scroll-type" type="engine:ScrollView_touch-scroll-type_Type" use="optional" />
  195. <xs:attribute default="0.135" name="scroll-deceleration-rate" type="xs:float" use="optional" />
  196. <xs:attribute default="0.1" name="elasticity" type="xs:float" use="optional" />
  197. <xs:anyAttribute processContents="lax" />
  198. </xs:restriction>
  199. </xs:complexContent>
  200. </xs:complexType>
  201. <xs:element name="ScrollView" substitutionGroup="engine:VisualElement" type="engine:ScrollViewType" />
  202. <xs:simpleType name="Scroller_direction_Type">
  203. <xs:restriction base="xs:string">
  204. <xs:enumeration value="Horizontal" />
  205. <xs:enumeration value="Vertical" />
  206. </xs:restriction>
  207. </xs:simpleType>
  208. <xs:complexType name="ScrollerType">
  209. <xs:complexContent mixed="false">
  210. <xs:restriction base="engine:VisualElementType">
  211. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  212. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  213. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  214. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  215. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  216. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  217. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  218. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  219. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  220. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  221. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  222. <xs:attribute default="0" name="high-value" type="xs:float" use="optional" />
  223. <xs:attribute default="Vertical" name="direction" type="engine:Scroller_direction_Type" use="optional" />
  224. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  225. <xs:anyAttribute processContents="lax" />
  226. </xs:restriction>
  227. </xs:complexContent>
  228. </xs:complexType>
  229. <xs:element name="Scroller" substitutionGroup="engine:VisualElement" type="engine:ScrollerType" />
  230. <xs:simpleType name="Slider_direction_Type">
  231. <xs:restriction base="xs:string">
  232. <xs:enumeration value="Horizontal" />
  233. <xs:enumeration value="Vertical" />
  234. </xs:restriction>
  235. </xs:simpleType>
  236. <xs:complexType name="SliderType">
  237. <xs:complexContent mixed="false">
  238. <xs:restriction base="engine:VisualElementType">
  239. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  240. <xs:element ref="engine:VisualElement" />
  241. </xs:sequence>
  242. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  243. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  244. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  245. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  246. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  247. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  248. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  249. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  250. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  251. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  252. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  253. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  254. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  255. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  256. <xs:attribute default="10" name="high-value" type="xs:float" use="optional" />
  257. <xs:attribute default="0" name="page-size" type="xs:float" use="optional" />
  258. <xs:attribute default="false" name="show-input-field" type="xs:boolean" use="optional" />
  259. <xs:attribute default="Horizontal" name="direction" type="engine:Slider_direction_Type" use="optional" />
  260. <xs:attribute default="false" name="inverted" type="xs:boolean" use="optional" />
  261. <xs:anyAttribute processContents="lax" />
  262. </xs:restriction>
  263. </xs:complexContent>
  264. </xs:complexType>
  265. <xs:element name="Slider" substitutionGroup="engine:VisualElement" type="engine:SliderType" />
  266. <xs:simpleType name="SliderInt_direction_Type">
  267. <xs:restriction base="xs:string">
  268. <xs:enumeration value="Horizontal" />
  269. <xs:enumeration value="Vertical" />
  270. </xs:restriction>
  271. </xs:simpleType>
  272. <xs:complexType name="SliderIntType">
  273. <xs:complexContent mixed="false">
  274. <xs:restriction base="engine:VisualElementType">
  275. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  276. <xs:element ref="engine:VisualElement" />
  277. </xs:sequence>
  278. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  279. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  280. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  281. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  282. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  283. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  284. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  285. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  286. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  287. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  288. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  289. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  290. <xs:attribute default="0" name="value" type="xs:int" use="optional" />
  291. <xs:attribute default="0" name="low-value" type="xs:int" use="optional" />
  292. <xs:attribute default="10" name="high-value" type="xs:int" use="optional" />
  293. <xs:attribute default="0" name="page-size" type="xs:int" use="optional" />
  294. <xs:attribute default="false" name="show-input-field" type="xs:boolean" use="optional" />
  295. <xs:attribute default="Horizontal" name="direction" type="engine:SliderInt_direction_Type" use="optional" />
  296. <xs:attribute default="false" name="inverted" type="xs:boolean" use="optional" />
  297. <xs:anyAttribute processContents="lax" />
  298. </xs:restriction>
  299. </xs:complexContent>
  300. </xs:complexType>
  301. <xs:element name="SliderInt" substitutionGroup="engine:VisualElement" type="engine:SliderIntType" />
  302. <xs:complexType name="MinMaxSliderType">
  303. <xs:complexContent mixed="false">
  304. <xs:restriction base="engine:VisualElementType">
  305. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  306. <xs:element ref="engine:VisualElement" />
  307. </xs:sequence>
  308. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  309. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  310. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  311. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  312. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  313. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  314. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  315. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  316. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  317. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  318. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  319. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  320. <xs:attribute default="0" name="min-value" type="xs:float" use="optional" />
  321. <xs:attribute default="10" name="max-value" type="xs:float" use="optional" />
  322. <xs:attribute default="-3.402823E+38" name="low-limit" type="xs:float" use="optional" />
  323. <xs:attribute default="3.402823E+38" name="high-limit" type="xs:float" use="optional" />
  324. <xs:anyAttribute processContents="lax" />
  325. </xs:restriction>
  326. </xs:complexContent>
  327. </xs:complexType>
  328. <xs:element name="MinMaxSlider" substitutionGroup="engine:VisualElement" type="engine:MinMaxSliderType" />
  329. <xs:complexType name="GroupBoxType">
  330. <xs:complexContent mixed="false">
  331. <xs:restriction base="engine:VisualElementType">
  332. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  333. <xs:element ref="engine:VisualElement" />
  334. </xs:sequence>
  335. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  336. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  337. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  338. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  339. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  340. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  341. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  342. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  343. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  344. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  345. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  346. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  347. <xs:anyAttribute processContents="lax" />
  348. </xs:restriction>
  349. </xs:complexContent>
  350. </xs:complexType>
  351. <xs:element name="GroupBox" substitutionGroup="engine:VisualElement" type="engine:GroupBoxType" />
  352. <xs:complexType name="RadioButtonType">
  353. <xs:complexContent mixed="false">
  354. <xs:restriction base="engine:VisualElementType">
  355. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  356. <xs:element ref="engine:VisualElement" />
  357. </xs:sequence>
  358. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  359. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  360. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  361. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  362. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  363. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  364. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  365. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  366. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  367. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  368. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  369. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  370. <xs:attribute default="false" name="value" type="xs:boolean" use="optional" />
  371. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  372. <xs:anyAttribute processContents="lax" />
  373. </xs:restriction>
  374. </xs:complexContent>
  375. </xs:complexType>
  376. <xs:element name="RadioButton" substitutionGroup="engine:VisualElement" type="engine:RadioButtonType" />
  377. <xs:complexType name="RadioButtonGroupType">
  378. <xs:complexContent mixed="false">
  379. <xs:restriction base="engine:VisualElementType">
  380. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  381. <xs:element ref="engine:VisualElement" />
  382. </xs:sequence>
  383. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  384. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  385. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  386. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  387. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  388. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  389. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  390. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  391. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  392. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  393. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  394. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  395. <xs:attribute default="0" name="value" type="xs:int" use="optional" />
  396. <xs:attribute default="" name="choices" type="xs:string" use="optional" />
  397. <xs:anyAttribute processContents="lax" />
  398. </xs:restriction>
  399. </xs:complexContent>
  400. </xs:complexType>
  401. <xs:element name="RadioButtonGroup" substitutionGroup="engine:VisualElement" type="engine:RadioButtonGroupType" />
  402. <xs:complexType name="ToggleType">
  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="true" 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="binding-path" type="xs:string" use="optional" />
  419. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  420. <xs:attribute default="false" name="value" type="xs:boolean" use="optional" />
  421. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  422. <xs:anyAttribute processContents="lax" />
  423. </xs:restriction>
  424. </xs:complexContent>
  425. </xs:complexType>
  426. <xs:element name="Toggle" substitutionGroup="engine:VisualElement" type="engine:ToggleType" />
  427. <xs:complexType name="TextFieldType">
  428. <xs:complexContent mixed="false">
  429. <xs:restriction base="engine:VisualElementType">
  430. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  431. <xs:element ref="engine:VisualElement" />
  432. </xs:sequence>
  433. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  434. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  435. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  436. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  437. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  438. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  439. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  440. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  441. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  442. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  443. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  444. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  445. <xs:attribute default="" name="value" type="xs:string" use="optional" />
  446. <xs:attribute default="-1" name="max-length" type="xs:int" use="optional" />
  447. <xs:attribute default="false" name="password" type="xs:boolean" use="optional" />
  448. <xs:attribute default="*" name="mask-character" type="xs:string" use="optional" />
  449. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  450. <xs:attribute default="false" name="readonly" type="xs:boolean" use="optional" />
  451. <xs:attribute default="false" name="is-delayed" type="xs:boolean" use="optional" />
  452. <xs:attribute default="false" name="multiline" type="xs:boolean" use="optional" />
  453. <xs:anyAttribute processContents="lax" />
  454. </xs:restriction>
  455. </xs:complexContent>
  456. </xs:complexType>
  457. <xs:element name="TextField" substitutionGroup="engine:VisualElement" type="engine:TextFieldType" />
  458. <xs:complexType name="InstanceType">
  459. <xs:complexContent mixed="false">
  460. <xs:restriction base="engine:VisualElementType">
  461. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  462. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  463. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  464. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  465. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  466. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  467. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  468. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  469. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  470. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  471. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  472. <xs:attribute name="template" type="xs:string" use="required" />
  473. <xs:anyAttribute processContents="lax" />
  474. </xs:restriction>
  475. </xs:complexContent>
  476. </xs:complexType>
  477. <xs:element name="Instance" substitutionGroup="engine:VisualElement" type="engine:InstanceType" />
  478. <xs:complexType name="BoxType">
  479. <xs:complexContent mixed="false">
  480. <xs:restriction base="engine:VisualElementType">
  481. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  482. <xs:element ref="engine:VisualElement" />
  483. </xs:sequence>
  484. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  485. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  486. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  487. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  488. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  489. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  490. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  491. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  492. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  493. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  494. <xs:anyAttribute processContents="lax" />
  495. </xs:restriction>
  496. </xs:complexContent>
  497. </xs:complexType>
  498. <xs:element name="Box" substitutionGroup="engine:VisualElement" type="engine:BoxType" />
  499. <xs:complexType name="DropdownFieldType">
  500. <xs:complexContent mixed="false">
  501. <xs:restriction base="engine:VisualElementType">
  502. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  503. <xs:element ref="engine:VisualElement" />
  504. </xs:sequence>
  505. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  506. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  507. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  508. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  509. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  510. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  511. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  512. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  513. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  514. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  515. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  516. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  517. <xs:attribute default="0" name="index" type="xs:int" use="optional" />
  518. <xs:attribute default="" name="choices" type="xs:string" use="optional" />
  519. <xs:anyAttribute processContents="lax" />
  520. </xs:restriction>
  521. </xs:complexContent>
  522. </xs:complexType>
  523. <xs:element name="DropdownField" substitutionGroup="engine:VisualElement" type="engine:DropdownFieldType" />
  524. <xs:simpleType name="HelpBox_message-type_Type">
  525. <xs:restriction base="xs:string">
  526. <xs:enumeration value="None" />
  527. <xs:enumeration value="Info" />
  528. <xs:enumeration value="Warning" />
  529. <xs:enumeration value="Error" />
  530. </xs:restriction>
  531. </xs:simpleType>
  532. <xs:complexType name="HelpBoxType">
  533. <xs:complexContent mixed="false">
  534. <xs:restriction base="engine:VisualElementType">
  535. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  536. <xs:element ref="engine:VisualElement" />
  537. </xs:sequence>
  538. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  539. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  540. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  541. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  542. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  543. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  544. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  545. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  546. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  547. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  548. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  549. <xs:attribute default="None" name="message-type" type="engine:HelpBox_message-type_Type" use="optional" />
  550. <xs:anyAttribute processContents="lax" />
  551. </xs:restriction>
  552. </xs:complexContent>
  553. </xs:complexType>
  554. <xs:element name="HelpBox" substitutionGroup="engine:VisualElement" type="engine:HelpBoxType" />
  555. <xs:complexType name="PopupWindowType">
  556. <xs:complexContent mixed="false">
  557. <xs:restriction base="engine:VisualElementType">
  558. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  559. <xs:element ref="engine:VisualElement" />
  560. </xs:sequence>
  561. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  562. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  563. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  564. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  565. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  566. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  567. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  568. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  569. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  570. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  571. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  572. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  573. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  574. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  575. <xs:anyAttribute processContents="lax" />
  576. </xs:restriction>
  577. </xs:complexContent>
  578. </xs:complexType>
  579. <xs:element name="PopupWindow" substitutionGroup="engine:VisualElement" type="engine:PopupWindowType" />
  580. <xs:complexType name="ProgressBarType">
  581. <xs:complexContent mixed="false">
  582. <xs:restriction base="engine:VisualElementType">
  583. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  584. <xs:element ref="engine:VisualElement" />
  585. </xs:sequence>
  586. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  587. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  588. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  589. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  590. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  591. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  592. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  593. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  594. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  595. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  596. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  597. <xs:attribute default="0" name="low-value" type="xs:float" use="optional" />
  598. <xs:attribute default="100" name="high-value" type="xs:float" use="optional" />
  599. <xs:attribute default="0" name="value" type="xs:float" use="optional" />
  600. <xs:attribute default="" name="title" type="xs:string" use="optional" />
  601. <xs:anyAttribute processContents="lax" />
  602. </xs:restriction>
  603. </xs:complexContent>
  604. </xs:complexType>
  605. <xs:element name="ProgressBar" substitutionGroup="engine:VisualElement" type="engine:ProgressBarType" />
  606. <xs:simpleType name="ListView_virtualization-method_Type">
  607. <xs:restriction base="xs:string">
  608. <xs:enumeration value="FixedHeight" />
  609. <xs:enumeration value="DynamicHeight" />
  610. </xs:restriction>
  611. </xs:simpleType>
  612. <xs:simpleType name="ListView_selection-type_Type">
  613. <xs:restriction base="xs:string">
  614. <xs:enumeration value="None" />
  615. <xs:enumeration value="Single" />
  616. <xs:enumeration value="Multiple" />
  617. </xs:restriction>
  618. </xs:simpleType>
  619. <xs:simpleType name="ListView_show-alternating-row-backgrounds_Type">
  620. <xs:restriction base="xs:string">
  621. <xs:enumeration value="None" />
  622. <xs:enumeration value="ContentOnly" />
  623. <xs:enumeration value="All" />
  624. </xs:restriction>
  625. </xs:simpleType>
  626. <xs:simpleType name="ListView_reorder-mode_Type">
  627. <xs:restriction base="xs:string">
  628. <xs:enumeration value="Simple" />
  629. <xs:enumeration value="Animated" />
  630. </xs:restriction>
  631. </xs:simpleType>
  632. <xs:complexType name="ListViewType">
  633. <xs:complexContent mixed="false">
  634. <xs:restriction base="engine:VisualElementType">
  635. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  636. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  637. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  638. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  639. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  640. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  641. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  642. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  643. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  644. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  645. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  646. <xs:attribute default="30" name="fixed-item-height" type="xs:int" use="optional" />
  647. <xs:attribute default="FixedHeight" name="virtualization-method" type="engine:ListView_virtualization-method_Type" use="optional" />
  648. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  649. <xs:attribute default="Single" name="selection-type" type="engine:ListView_selection-type_Type" use="optional" />
  650. <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:ListView_show-alternating-row-backgrounds_Type" use="optional" />
  651. <xs:attribute default="false" name="show-foldout-header" type="xs:boolean" use="optional" />
  652. <xs:attribute default="" name="header-title" type="xs:string" use="optional" />
  653. <xs:attribute default="false" name="show-add-remove-footer" type="xs:boolean" use="optional" />
  654. <xs:attribute default="false" name="reorderable" type="xs:boolean" use="optional" />
  655. <xs:attribute default="Simple" name="reorder-mode" type="engine:ListView_reorder-mode_Type" use="optional" />
  656. <xs:attribute default="true" name="show-bound-collection-size" type="xs:boolean" use="optional" />
  657. <xs:attribute default="false" name="horizontal-scrolling" type="xs:boolean" use="optional" />
  658. <xs:anyAttribute processContents="lax" />
  659. </xs:restriction>
  660. </xs:complexContent>
  661. </xs:complexType>
  662. <xs:element name="ListView" substitutionGroup="engine:VisualElement" type="engine:ListViewType" />
  663. <xs:simpleType name="TwoPaneSplitView_orientation_Type">
  664. <xs:restriction base="xs:string">
  665. <xs:enumeration value="Horizontal" />
  666. <xs:enumeration value="Vertical" />
  667. </xs:restriction>
  668. </xs:simpleType>
  669. <xs:complexType name="TwoPaneSplitViewType">
  670. <xs:complexContent mixed="false">
  671. <xs:restriction base="engine:VisualElementType">
  672. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  673. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  674. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  675. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  676. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  677. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  678. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  679. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  680. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  681. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  682. <xs:attribute default="0" name="fixed-pane-index" type="xs:int" use="optional" />
  683. <xs:attribute default="100" name="fixed-pane-initial-dimension" type="xs:int" use="optional" />
  684. <xs:attribute default="Horizontal" name="orientation" type="engine:TwoPaneSplitView_orientation_Type" use="optional" />
  685. <xs:anyAttribute processContents="lax" />
  686. </xs:restriction>
  687. </xs:complexContent>
  688. </xs:complexType>
  689. <xs:element name="TwoPaneSplitView" substitutionGroup="engine:VisualElement" type="engine:TwoPaneSplitViewType" />
  690. <xs:simpleType name="InternalTreeView_selection-type_Type">
  691. <xs:restriction base="xs:string">
  692. <xs:enumeration value="None" />
  693. <xs:enumeration value="Single" />
  694. <xs:enumeration value="Multiple" />
  695. </xs:restriction>
  696. </xs:simpleType>
  697. <xs:simpleType name="InternalTreeView_show-alternating-row-backgrounds_Type">
  698. <xs:restriction base="xs:string">
  699. <xs:enumeration value="None" />
  700. <xs:enumeration value="ContentOnly" />
  701. <xs:enumeration value="All" />
  702. </xs:restriction>
  703. </xs:simpleType>
  704. <xs:complexType name="InternalTreeViewType">
  705. <xs:complexContent mixed="false">
  706. <xs:restriction base="engine:VisualElementType">
  707. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  708. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  709. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  710. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  711. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  712. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  713. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  714. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  715. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  716. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  717. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  718. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  719. <xs:attribute default="Single" name="selection-type" type="engine:InternalTreeView_selection-type_Type" use="optional" />
  720. <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:InternalTreeView_show-alternating-row-backgrounds_Type" use="optional" />
  721. <xs:anyAttribute processContents="lax" />
  722. </xs:restriction>
  723. </xs:complexContent>
  724. </xs:complexType>
  725. <xs:element name="InternalTreeView" substitutionGroup="engine:VisualElement" type="engine:InternalTreeViewType" />
  726. <xs:simpleType name="TreeView_selection-type_Type">
  727. <xs:restriction base="xs:string">
  728. <xs:enumeration value="None" />
  729. <xs:enumeration value="Single" />
  730. <xs:enumeration value="Multiple" />
  731. </xs:restriction>
  732. </xs:simpleType>
  733. <xs:simpleType name="TreeView_show-alternating-row-backgrounds_Type">
  734. <xs:restriction base="xs:string">
  735. <xs:enumeration value="None" />
  736. <xs:enumeration value="ContentOnly" />
  737. <xs:enumeration value="All" />
  738. </xs:restriction>
  739. </xs:simpleType>
  740. <xs:complexType name="TreeViewType">
  741. <xs:complexContent mixed="false">
  742. <xs:restriction base="engine:VisualElementType">
  743. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  744. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  745. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  746. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  747. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  748. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  749. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  750. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  751. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  752. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  753. <xs:attribute default="30" name="item-height" type="xs:int" use="optional" />
  754. <xs:attribute default="false" name="show-border" type="xs:boolean" use="optional" />
  755. <xs:attribute default="Single" name="selection-type" type="engine:TreeView_selection-type_Type" use="optional" />
  756. <xs:attribute default="None" name="show-alternating-row-backgrounds" type="engine:TreeView_show-alternating-row-backgrounds_Type" use="optional" />
  757. <xs:anyAttribute processContents="lax" />
  758. </xs:restriction>
  759. </xs:complexContent>
  760. </xs:complexType>
  761. <xs:element name="TreeView" substitutionGroup="engine:VisualElement" type="engine:TreeViewType" />
  762. <xs:complexType name="FoldoutType">
  763. <xs:complexContent mixed="false">
  764. <xs:restriction base="engine:VisualElementType">
  765. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  766. <xs:element ref="engine:VisualElement" />
  767. </xs:sequence>
  768. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  769. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  770. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  771. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  772. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  773. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  774. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  775. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  776. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  777. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  778. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  779. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  780. <xs:attribute default="true" name="value" type="xs:boolean" use="optional" />
  781. <xs:anyAttribute processContents="lax" />
  782. </xs:restriction>
  783. </xs:complexContent>
  784. </xs:complexType>
  785. <xs:element name="Foldout" substitutionGroup="engine:VisualElement" type="engine:FoldoutType" />
  786. <xs:complexType name="BindableElementType">
  787. <xs:complexContent mixed="false">
  788. <xs:restriction base="engine:VisualElementType">
  789. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  790. <xs:element ref="engine:VisualElement" />
  791. </xs:sequence>
  792. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  793. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  794. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  795. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  796. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  797. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  798. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  799. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  800. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  801. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  802. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  803. <xs:anyAttribute processContents="lax" />
  804. </xs:restriction>
  805. </xs:complexContent>
  806. </xs:complexType>
  807. <xs:element name="BindableElement" substitutionGroup="engine:VisualElement" type="engine:BindableElementType" />
  808. <xs:complexType name="TextElementType">
  809. <xs:complexContent mixed="false">
  810. <xs:restriction base="engine:VisualElementType">
  811. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  812. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  813. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  814. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  815. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  816. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  817. <xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
  818. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  819. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  820. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  821. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  822. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  823. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  824. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  825. <xs:anyAttribute processContents="lax" />
  826. </xs:restriction>
  827. </xs:complexContent>
  828. </xs:complexType>
  829. <xs:element name="TextElement" substitutionGroup="engine:VisualElement" type="engine:TextElementType" />
  830. <xs:complexType name="ButtonStripFieldType">
  831. <xs:complexContent mixed="false">
  832. <xs:restriction base="engine:VisualElementType">
  833. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  834. <xs:element ref="engine:VisualElement" />
  835. </xs:sequence>
  836. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  837. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  838. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  839. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  840. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  841. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  842. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  843. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  844. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  845. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  846. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  847. <xs:attribute default="" name="label" type="xs:string" use="optional" />
  848. <xs:anyAttribute processContents="lax" />
  849. </xs:restriction>
  850. </xs:complexContent>
  851. </xs:complexType>
  852. <xs:element name="ButtonStripField" substitutionGroup="engine:VisualElement" type="engine:ButtonStripFieldType" />
  853. <xs:complexType name="TemplateType">
  854. <xs:complexContent mixed="false">
  855. <xs:restriction base="engine:VisualElementType">
  856. <xs:attribute name="name" type="xs:string" use="required" />
  857. <xs:attribute default="" name="path" type="xs:string" use="optional" />
  858. <xs:attribute default="" name="src" type="xs:string" use="optional" />
  859. <xs:anyAttribute processContents="lax" />
  860. </xs:restriction>
  861. </xs:complexContent>
  862. </xs:complexType>
  863. <xs:element name="Template" substitutionGroup="engine:VisualElement" type="engine:TemplateType" />
  864. <xs:complexType name="StyleType">
  865. <xs:complexContent mixed="false">
  866. <xs:restriction base="engine:VisualElementType">
  867. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  868. <xs:attribute default="" name="path" type="xs:string" use="optional" />
  869. <xs:attribute default="" name="src" type="xs:string" use="optional" />
  870. <xs:anyAttribute processContents="lax" />
  871. </xs:restriction>
  872. </xs:complexContent>
  873. </xs:complexType>
  874. <xs:element name="Style" substitutionGroup="engine:VisualElement" type="engine:StyleType" />
  875. <xs:complexType name="AttributeOverridesType">
  876. <xs:complexContent mixed="false">
  877. <xs:restriction base="engine:VisualElementType">
  878. <xs:attribute name="element-name" type="xs:string" use="required" />
  879. <xs:anyAttribute processContents="lax" />
  880. </xs:restriction>
  881. </xs:complexContent>
  882. </xs:complexType>
  883. <xs:element name="AttributeOverrides" substitutionGroup="engine:VisualElement" type="engine:AttributeOverridesType" />
  884. <xs:complexType name="ButtonType">
  885. <xs:complexContent mixed="false">
  886. <xs:restriction base="engine:VisualElementType">
  887. <xs:attribute default="" name="name" type="xs:string" use="optional" />
  888. <xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
  889. <xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
  890. <xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
  891. <xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
  892. <xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
  893. <xs:attribute default="true" name="focusable" type="xs:boolean" use="optional" />
  894. <xs:attribute default="" name="class" type="xs:string" use="optional" />
  895. <xs:attribute default="" name="content-container" type="xs:string" use="optional" />
  896. <xs:attribute default="" name="style" type="xs:string" use="optional" />
  897. <xs:attribute default="" name="binding-path" type="xs:string" use="optional" />
  898. <xs:attribute default="" name="text" type="xs:string" use="optional" />
  899. <xs:attribute default="true" name="enable-rich-text" type="xs:boolean" use="optional" />
  900. <xs:attribute default="false" name="display-tooltip-when-elided" type="xs:boolean" use="optional" />
  901. <xs:anyAttribute processContents="lax" />
  902. </xs:restriction>
  903. </xs:complexContent>
  904. </xs:complexType>
  905. <xs:element name="Button" substitutionGroup="engine:VisualElement" type="engine:ButtonType" />
  906. </xs:schema>