defaultChecked Attribute

Applies To: Windows Server 2008

The defaultChecked attribute is a Boolean value. If true, the check box parameter is displayed checked; otherwise, the check box parameter is displayed unchecked.

Syntax

defaultChecked="<true|false>"

where

true represents checked state.

false represents unchecked state.

Remarks

The defaultChecked attribute is an optional attribute and is false by default.

The current behavior of Windows Vista does not match the specified operation of the defaultChecked attribute. In Windows Vista, all check box parameters are checked, by default.

Examples

This XML fragment specifies two check box parameters. When the policy setting is enabled, the first check box is displayed unchecked and the second check box is displayed checked.

<checkBox refId="Checkbox_1">First check box parameter</checkBox>

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

Additional references

decimal Element (elements)

text Element