defaultItem Attribute

Applies To: Windows Server 2008

The defaultItem attribute is the numerical value identifying the default choice from the items in the drop-down list. The item list is numbered starting from 0.

Syntax

defaultItem="<placeholder for unsigned decimal integer number>"

Remarks

The defaultItem attribute is an optional attribute. If the defaultItem attribute is not specified or is set to a nonexistent item, the drop-down list box will be blank.

Examples

This XML fragment specifies the first item in the drop-down list will be displayed by default.

defaultItem="0"

Additional references

dropdownList Element