Freigeben über


DefaultCheckBoxFormFieldState-Klasse

Default Checkbox Form Field State

Vererbungshierarchie

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

'Declaration
Public Class DefaultCheckBoxFormFieldState _
    Inherits OnOffType
'Usage
Dim instance As DefaultCheckBoxFormFieldState
public class DefaultCheckBoxFormFieldState : OnOffType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

DefaultCheckBoxFormFieldState-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace