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

Represents a helper class for setting the SelectedItems collection of the RadListBox.

Definition

Namespace:Telerik.Windows.Controls.Behaviors

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public sealed class ListBoxSelectedItemsBehavior

Inheritance: objectListBoxSelectedItemsBehavior

Fields

SelectedItemsSourceProperty

DependencyProperty

Identifies the SelectedItemsSource dependency property.

C#
public static readonly DependencyProperty SelectedItemsSourceProperty

Methods

Gets the SelectedItemsSource collection.

C#
public static IEnumerable GetSelectedItemsSource(DependencyObject obj)
Parameters:objDependencyObjectReturns:

IEnumerable

The SelectedItems collection.

Sets the SelectedItemsSource collection.

C#
public static void SetSelectedItemsSource(DependencyObject obj, IEnumerable value)
Parameters:objDependencyObjectvalueIEnumerable