Class
SelectionChangingEventArgs

Initializes a new instance of the SelectionChangingEventArgs class.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class SelectionChangingEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsSelectionChangingEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

SelectionChangingEventArgs(IList<object>, IList<object>)

Initializes a new instance of the SelectionChangingEventArgs class.

Declaration

cs-api-definition
public SelectionChangingEventArgs(IList<object> addedItems, IList<object> removedItems)

Parameters

addedItems

IList<object>

The items that were selected.

removedItems

IList<object>

The items that were unselected.

SelectionChangingEventArgs(IList<object>, IList<object>, bool)

Initializes a new instance of the SelectionChangingEventArgs class.

Declaration

cs-api-definition
public SelectionChangingEventArgs(IList<object> addedItems, IList<object> removedItems, bool isCancelable)

Parameters

addedItems

IList<object>

The items that were selected.

removedItems

IList<object>

The items that were unselected.

isCancelable

bool

If set to true [is cancelable].

Properties

AddedItems

Gets a list that contains the items that are being selected. Items that are being selected

Declaration

cs-api-definition
public ReadOnlyCollection<object> AddedItems { get; }

Property Value

ReadOnlyCollection<object>

IsCancelable

Gets a value that indicates whether the event is cancelable.

Declaration

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

Property Value

bool

true if this instance is cancelable; otherwise, false.

RemovedItems

Gets a list that contains the items that are being unselected. Items that are being unselected

Declaration

cs-api-definition
public ReadOnlyCollection<object> RemovedItems { get; }

Property Value

ReadOnlyCollection<object>