Table of Contents

Property IncludeValuePredicate

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

IncludeValuePredicate

Gets or sets a predicate used to determine whether a given enum element should be included in the popup list.

[Browsable(false)]
public virtual Predicate<object?>? IncludeValuePredicate { get; set; }

Property Value

Predicate<object>

A delegate of type Predicate<T> that returns true for items to include; otherwise, false. May be null to disable filtering.

Remarks

The predicate receives an item as input (which may be null) and returns true if the item should be included, or false otherwise.