Export (0) Print
Expand All
Expand Minimize

checkBox Element

Applies To: Windows Server 2008

The checkBox element represents a check box parameter. The checkBox element must be associated with a boolean element defined in the elements element.

<checkBox refId="<placeholderID>"
         defaultChecked="true|false"
     Placeholder label:</ checkBox >

where Placeholder label is label text for the parameter.

 

Attributes Required Description

refId Attribute

Yes

A mapping to the element.

defaultChecked Attribute

No

A default value. If not specified, the defaultChecked attribute will be set to false.

There are no child elements associated with this element.

The checkBox element is associated with a check box parameter in the Group Policy Management Console or the Local Group Policy Editor. The checkBox element will require a matching boolean element in the corresponding .admx file with matching id attribute as declared in the presentation element containing the checkBox element.

This XML fragment is an example of two checkBox elements that are associated with two check box parameters, the second checked by default.

        <checkBox refId="Checkbox_1">First check box parameter</checkBox>
        <checkBox refId="Checkbox_2" defaultChecked="true">Second check box parameter - checked by default</checkBox>

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

Community Additions

ADD
Show:
© 2014 Microsoft