ContentControl.Checked Property

Gets or sets the current state (checked/unchecked) for a check box.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property Checked As Boolean
    Get
    Set
'Usage
Dim instance As ContentControl
Dim value As Boolean

value = instance.Checked

instance.Checked = value
bool Checked { get; set; }

Property Value

Type: System.Boolean
true if the check box is checked; otherwise; false.

Remarks

Read/write. Use this property to get or set the current state for a check box content control. If the control is not a check box, attempts to access the property fail with the run-time error “This property is only available for check box content controls."

See Also

Reference

ContentControl Interface

ContentControl Members

Microsoft.Office.Interop.Word Namespace