DefaultCheckBoxFormFieldState Class
Default Checkbox Form Field State
Inheritance Hierarchy
System.Object
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)
Syntax
'Декларация
Public Class DefaultCheckBoxFormFieldState _
Inherits OnOffType
'Применение
Dim instance As DefaultCheckBoxFormFieldState
public class DefaultCheckBoxFormFieldState : OnOffType
Remarks
[ISO/IEC 29500-1 редакция 1]
17.16.7 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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.