Export (0) Print
Expand All
Expand Minimize

dropdownList Element

Applies To: Windows Server 2008

The dropdownList element represents a drop-down listparameter. The dropdownList element must be associated with an enum element defined in the elements element.

<dropdownList refId="<placeholderID>"
         noSort="true|false"
         defaultItem ="<placeholderNumericValue>">
     Placeholder label:</dropdownList>

where Placeholder label is label text for the parameter.

 

Attributes Required Description

refId Attribute

Yes

A mapping to the element.

noSort Attribute

No

If true, create a spin control; otherwise, create a text box for numeric entry. This attribute is true, by default.

defaultItem Attribute

No

The numerical value identifying the default choice of the list of items. The item list is numbered starting from 0.

There are no child elements associated with this element.

The dropdownList element is associated with a drop-down list parameter in the Local Group Policy Editor or Group Policy Management Console. The dropdownList element will require a matching enum element in the corresponding .admx file with matching id attribute as declared in the presentation element containing the dropdownList element.

This XML fragment is an example of a dropdownList element with the first item in the list displayed as the default choice.

        <dropdownList refId="Sample_Dropdownlist_Box" defaultItem="0">Drop-down list box choices:</dropdownList>

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft