Share via


FormCheckBoxControl.checked Method

Definition

Overloads

checked()

Gets or sets the value of a check box.

checked(Boolean)

checked()

Gets or sets the value of a check box.

public:
 virtual bool checked();
public virtual bool checked ();
abstract member checked : unit -> bool
override this.checked : unit -> bool
Public Overridable Function checked () As Boolean

Returns

true if the check box is selected; otherwise false.

Remarks

This method uses the Win32 API to get and set the value of the check box without querying the properties.

Applies to

checked(Boolean)

public:
 virtual bool checked(bool _check);
public virtual bool checked (bool _check);
abstract member checked : bool -> bool
override this.checked : bool -> bool
Public Overridable Function checked (_check As Boolean) As Boolean

Parameters

_check
Boolean

A Boolean value that indicates whether the check box is selected; optional. A value of true selects the check box, and a value of false clears it.

Returns

Applies to