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

Provides data for SelectionChanged and PreviewSelectionChanged events.

Definition

Namespace:Telerik.Windows.Controls.TreeMap

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class SelectionChangedRoutedEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsSelectionChangedRoutedEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

Initializes a new instance of the SelectionChangedRoutedEventArgs class.

C#
public SelectionChangedRoutedEventArgs()

Initializes a new instance of the SelectionChangedRoutedEventArgs class.

C#
public SelectionChangedRoutedEventArgs(RoutedEvent routedEvent, object selectedItem, IList addedItems, IList removedItems)
Parameters:routedEventRoutedEvent

The routed event.

selectedItemobject

The selected item.

addedItemsIList

The selected items.

removedItemsIList

The unselected item.

Initializes a new instance of the SelectionChangedRoutedEventArgs class.

C#
public SelectionChangedRoutedEventArgs(RoutedEvent routedEvent, object source, object selectedItem)
Parameters:routedEventRoutedEvent

The routed event.

sourceobject

The source.

selectedItemobject

The selected item.

Initializes a new instance of the SelectionChangedRoutedEventArgs class.

C#
public SelectionChangedRoutedEventArgs(RoutedEvent routedEvent, object selectedItem)
Parameters:routedEventRoutedEvent

The routed event.

selectedItemobject

The selected item.

Properties

Gets a list that contains items that were selected.

C#
public IList AddedItems { get; }
Property Value:

The selected items.

Gets a list that contains items that were unselected.

C#
public IList RemovedItems { get; }
Property Value:

The unselected items.

Gets the selected item.

C#
public object SelectedItem { get; }
Property Value:

The selected item.