Table of Contents

Method FirstOrDefaultTab

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll

FirstOrDefaultTab(Func<IMenuTabModel, bool>)

Returns the first menu tab model that satisfies the specified condition.

public IMenuTabModel FirstOrDefaultTab(Func<IMenuTabModel, bool> predicate)

Parameters

predicate Func<IMenuTabModel, bool>

The condition to satisfy.

Returns

IMenuTabModel

The first menu tab model that satisfies the condition, or null if no such element is found.