Table of Contents

Method IndexOfData

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

IndexOfData(TOption?)

Finds the first option whose Data equals data using the default equality comparer for TOption.

protected int IndexOfData(TOption? data)

Parameters

data TOption

Returns

int

The option index, or -1 if no match is found.