Property CheckedState
CheckedState
Gets the checked state the document states for a check box (w:checkBox/w:checked), or null when the element is absent and the box shows its default, IsCheckedByDefault.
public bool? CheckedState { get; }
Property Value
- bool?
Remarks
IsChecked is false both for an absent element and for a stated
w:checked w:val="0"; this is the property that tells the two apart, which is what
a renderer needs: Word shows the stated state where there is one and the default
otherwise (WQ-0062). What Word displays is therefore
field.CheckedState ?? field.IsCheckedByDefault.