Skip to content

The Enum Property

crapougnax edited this page Apr 17, 2012 · 3 revisions

A property can be defined to contain a close list of options.

The XML definition looks like this:

...
<property id="myenum" type="enum">
    <label>My Enum</label>
    <values>
        <value id="1">
          <label>One</label>
        </value>
        <value id="2">
          <label>Two</label>
        </value>
    </values>
    <defaultvalue>2</defaultvalue>
</property>
...
Clone this wiki locally