Table of Contents

Method AdvanceCheckState

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

AdvanceCheckState()

Advances CheckedState to the next value. Invokes the cancelable CheckedStateChanging event.

public bool? AdvanceCheckState()

Returns

bool?

true if state change was canceled, false if the state changed, and null if the state was not changed for some other reason.

Remarks

Cycles through the states None, Checked, and UnChecked.

If the CheckedStateChanging event is not canceled, the CheckedState will be updated and the Accept event will be raised.