Share via


ContentControl.Checked Property

Definition

Gets or sets a value that indicates whether a ContentControl that represents a check box control is checked or unchecked.

public:
 property bool Checked { bool get(); void set(bool value); };
public bool Checked { get; set; }
member this.Checked : bool with get, set
Public Property Checked As Boolean

Property Value

true if the content control is checked; otherwise, false.

Exceptions

This property is used in a Word 2007 project.

The Type property does not have the value Microsoft.Office.Interop.Word.WdContentControlType.wdContentControlCheckBox.

Remarks

This property can be used only if the ContentControl represents a check box content control.

Note

This method appears in IntelliSense in Word 2007 projects that target the .NET Framework 4. However, this property cannot be used in Word 2007 projects.

Applies to