DefaultCheckBoxFormFieldState class
Default Checkbox Form Field State. When the object is serialized out as xml, its qualified name is w:default.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.DefaultCheckBoxFormFieldState
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
default (Default Checkbox Form Field State)
This element specifies the default checkbox state for the parent checkbox form field. This value determines the checkbox state when its current run contents are empty (i.e. there is not actual content within the drop-down list).
If this element is omitted, then the current checkbox form field shall have a default value of 0 (unchecked).
[Example: Consider the following WordprocessingML fragment for a checkbox list form field:
<w:fldChar w:fldCharType="begin">
<w:ffData>
<w:checkBox>
<w:default w:val="true" />
</w:checkBox>
</w:ffData>
</w:fldChar>The default element specifies the default state of the checkbox form field to be true.Since the form field does not contain any run content, this is the state which must be displayed when the contents of the form field are displayed by an application. end example]
Parent Elements |
|---|
checkBox (§17.16.7) |
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.