# Properties of variant Field

The **\<variant>** field has all the [common](fields) properties as well as ones listed below. Refer to [\<variant> Field](../fields/variant) chapter for detailed description.

|         Property Name        |               Allowed type / value              | DSL Version | Required | Default Value | Description                                                             |
| :--------------------------: | :---------------------------------------------: | :---------: | :------: | :-----------: | ----------------------------------------------------------------------- |
|       **defaultMember**      | [name](../names) or [numeric](../numeric) index |      1      |    no    |       -1      | Default member. Negative number means no member selected.               |
| **displayIdxReadOnlyHidden** |                [bool](../boolean)               |      1      |    no    |     false     | Hide active index of the member when field displayed in read-only mode. |

Extra child XML elements allowed:

|   XML Element  | DSL Version | Description          |
| :------------: | :---------: | -------------------- |
| **\<members>** |      1      | Wraps member fields. |
