Class
AsyncItemSearchEventArgs

Event args for ItemsFound event.

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class AsyncItemSearchEventArgs : EventArgs

Inheritance: objectEventArgsAsyncItemSearchEventArgs

Inherited Members EventArgs.Empty

Constructors

AsyncItemSearchEventArgs(IEnumerable<object>)

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

Declaration

cs-api-definition
public AsyncItemSearchEventArgs(IEnumerable<object> result)

Parameters

result

IEnumerable<object>

The found items after search matches.

AsyncItemSearchEventArgs(IEnumerable<object>, bool, AggregateException)

Initializes a new instance of the AsyncItemSearchEventArgs class.

Declaration

cs-api-definition
public AsyncItemSearchEventArgs(IEnumerable<object> result, bool isCanceled, AggregateException error)

Parameters

result

IEnumerable<object>

The found items after search matches.

isCanceled

bool

Indicates whether the search has canceled or not.

error

AggregateException

The error for cancellation..

Properties

Error

The error for cancellation.

Declaration

cs-api-definition
public AggregateException Error { get; }

Property Value

AggregateException

IsCanceled

Indicates whether the search has canceled or not.

Declaration

cs-api-definition
public bool IsCanceled { get; }

Property Value

bool

Result

The found items after search completes.

Declaration

cs-api-definition
public IEnumerable<object> Result { get; }

Property Value

IEnumerable<object>