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

Initializes a new instance of the SelectionChangingEventArgs class.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
public class SelectionChangingEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsSelectionChangingEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

Initializes a new instance of the SelectionChangingEventArgs class.

C#
public SelectionChangingEventArgs(IList<object> addedItems, IList<object> removedItems, bool isCancelable)
Parameters:addedItemsIList<object>

The items that were selected.

removedItemsIList<object>

The items that were unselected.

isCancelablebool

If set to true [is cancelable].

Initializes a new instance of the SelectionChangingEventArgs class.

C#
public SelectionChangingEventArgs(IList<object> addedItems, IList<object> removedItems)
Parameters:addedItemsIList<object>

The items that were selected.

removedItemsIList<object>

The items that were unselected.

Properties

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

C#
public ReadOnlyCollection<object> AddedItems { get; }

Gets a value that indicates whether the event is cancelable.

C#
public bool IsCancelable { get; }
Property Value:

true if this instance is cancelable; otherwise, false.

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

C#
public ReadOnlyCollection<object> RemovedItems { get; }