Table of Contents

Property IsChecked

Namespace
DocWright.Dom.ContentControls
Assembly
DocWright.Dom.dll

IsChecked

Gets or sets whether a check box is checked (w14:checkbox/w14:checked).

Setting it updates the stored state only. Word also paints the check box as a symbol run inside w:sdtContent; SetValue(string) updates both, and is what a caller filling in a form should use.

public bool? IsChecked { get; set; }

Property Value

bool?

Exceptions

ContentControlEditException

The preserved markup could not be rewritten, or the control is not a check box.