RadListBox
Represents a control that displays a list of items with interactive features, allowing users to select, manipulate, and reorder items through touch and keyboard input. The RadListBox supports drag-and-drop functionality, customizable visual elements, and seamless scrolling experiences, making it suitable for advanced user interfaces. It includes various dependency properties such as DropVisualProvider and DragDropBehavior that enhance its interactivity, as well as powerful selection and navigation capabilities.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Data")]
public class RadListBox : ListControl, IMultiSelector, ISelector, ISelectorInteraction, IAutocomplete, IListControl, ICommandSource, IScrollingServiceCore, IScrollingInfo
Inheritance: objectItemsControlSelectorListControlRadListBox
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadListBox class.
public RadListBox()
Fields
DataConverterProperty
DependencyProperty
Identifies the DataConverter dependency property.
public static readonly DependencyProperty DataConverterProperty
DragDropBehaviorProperty
DependencyProperty
Identifies the DragDropBehavior property.
public static readonly DependencyProperty DragDropBehaviorProperty
DragVisualProviderProperty
DependencyProperty
Identifies the DragVisualProvider dependency property.
public static readonly DependencyProperty DragVisualProviderProperty
DropVisualProviderProperty
DependencyProperty
Identifies the IsReadOnly property.
public static readonly DependencyProperty DropVisualProviderProperty
Properties
Gets or sets the DataConverter. This is a dependency property.
public DataConverter DataConverter { get; set; }
Gets or sets the DragDropBehavior. This is a dependency property.
public ListBoxDragDropBehavior DragDropBehavior { get; set; }
Gets or sets the DragVisualProvider. This is a dependency property.
public IDragVisualProvider DragVisualProvider { get; set; }
Gets or sets the DropVisualProvider. This is a dependency property.
public IDropVisualProvider DropVisualProvider { get; set; }
Methods
GetContainerForItemOverride()
DependencyObject
Creates or identifies the element that is used to display the given item.
protected override DependencyObject GetContainerForItemOverride()
DependencyObject
The element that is used to display the given item.
Overrides:
Gets the data item according to its container.
public override object GetDataItem(UIElement container)
The container.
Returns:Overrides:
When overridden in a derived class, is invoked whenever application code or internal processes call HandleKeyboardInput(Key). Override this method if a custom keyboard navigation is required.
protected override bool HandleKeyboardInput(Key key)
The key.
Returns:Overrides:
Initializes the text Retriever.
protected override void InitializeTextRetriever()
Overrides:
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Raises the event.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
The NotifyCollectionChangedEventArgs instance containing the event data.
Overrides:
Invoked when the event is received.
protected override void OnKeyDown(KeyEventArgs e)
Information about the event.
Called when the selection changes.
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
The event data.
Overrides:
Invoked when the event is received.
protected override void OnTextInput(TextCompositionEventArgs e)
Information about the event.
Updates the items when ItemsChanged occurs.
protected override void UpdateItems(NotifyCollectionChangedAction action, IList newItems, IList oldItems)
The action.
newItemsIListThe new items.
oldItemsIListThe old items.
Overrides: