Share via


DataGridViewCheckBoxHeaderCell.Checked Property

Gets or sets a value indicating whether a DataGridViewCheckBoxHeaderCell object is checked.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

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

value = instance.Checked

instance.Checked = value
public bool Checked { get; set; }
public:
property bool Checked {
    bool get ();
    void set (bool value);
}
member Checked : bool with get, set
function get Checked () : boolean
function set Checked (value : boolean)

Property Value

Type: System.Boolean
True if checked; otherwise, false.