Partager via


HtmlCheckBox.Checked Property

Gets or sets a value that indicates whether the check box is selected.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable Property Checked As Boolean
public virtual bool Checked { get; set; }
public:
virtual property bool Checked {
    bool get ();
    void set (bool value);
}
abstract Checked : bool with get, set 
override Checked : bool with get, set
function get Checked () : boolean 
function set Checked (value : boolean)

Property Value

Type: Boolean
true if the check box is selected; otherwise, false.

.NET Framework Security

See Also

Reference

HtmlCheckBox Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace