Table of Contents

Method GetCheckBoxValue

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

GetCheckBoxValue(CheckBox)

Gets the int value associated with a checkbox. For testing and advanced scenarios.

public int GetCheckBoxValue(CheckBox checkbox)

Parameters

checkbox CheckBox

The checkbox to get the value for

Returns

int

The integer value associated with the checkbox

Exceptions

InvalidOperationException

If the checkbox is not found or not part of this selector