New to Telerik UI for WPFStart a free 30-day trial

Event args for ItemsFound event.

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class AsyncItemSearchEventArgs : EventArgs

Inheritance: objectEventArgsAsyncItemSearchEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the AsyncItemSearchEventArgs class.

C#
public AsyncItemSearchEventArgs(IEnumerable<object> result, bool isCanceled, AggregateException error)
Parameters:resultIEnumerable<object>

The found items after search matches.

isCanceledbool

Indicates whether the search has canceled or not.

errorAggregateException

The error for cancellation..

Initializes a new instance of the AsyncItemSearchEventArgs class when search has completed successfully.

C#
public AsyncItemSearchEventArgs(IEnumerable<object> result)
Parameters:resultIEnumerable<object>

The found items after search matches.

Properties

The error for cancellation.

C#
public AggregateException Error { get; }

Indicates whether the search has canceled or not.

C#
public bool IsCanceled { get; }

The found items after search completes.

C#
public IEnumerable<object> Result { get; }