skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadListBox

Represents a ListBox control.

Inheritance
System.Object
ItemsControlSelector
ListControl
RadListBox
DockingNavigatorListBox
FileBrowserListBox
OfficeNavigationBarDialogListBox
RadClock
RadColorPaletteView
RadGallery
Inherited Members
ListControl.CanAutocompleteSelectItemsProperty
ListControl.TextSearchModeProperty
ListControl.CanAutocompleteSelectPartialMatchesProperty
ListControl.TypedTextProperty
ListControl.CommandProperty
ListControl.CommandParameterProperty
ListControl.CommandTargetProperty
ListControl.CanKeyboardNavigationSelectItemsProperty
ListControl.IsScrollIntoViewEnabledProperty
ListControl.PrepareContainerForItemOverride(DependencyObject, Object)
ListControl.ClearContainerForItemOverride(DependencyObject, Object)
ListControl.OnItemsPanelChanged(ItemsPanelTemplate, ItemsPanelTemplate)
ListControl.OnPropertyChanged(DependencyPropertyChangedEventArgs)
ListControl.ClearContainerStates(FrameworkElement)
ListControl.HighlightedIndexChanged(Int32, Key)
ListControl.OnMatchingItemChanged()
ListControl.OnAutocompleteBehaviorTypedTextChanged()
ListControl.IsItemItsOwnContainerOverride(Object)
ListControl.IsIndexSelectable(Int32)
ListControl.OnSelectionModeChanged()
ListControl.CanPerformSelection()
ListControl.GetScrollViewerPart()
ListControl.ScrollIntoView(Object)
ListControl.ScrollIntoView(Int32)
ListControl.IScrollingInfo.TransformFromDropTargetToViewPort(Point)
ListControl.IScrollingServiceCore.ScrollVertical(Double)
ListControl.IScrollingServiceCore.ScrollHorizontal(Double)
ListControl.SelectAllCommand
ListControl.CanAutocompleteSelectItems
ListControl.CanAutocompleteSelectPartialMatches
ListControl.TextSearchMode
ListControl.CanKeyboardNavigationSelectItems
ListControl.IsScrollIntoViewEnabled
ListControl.TypedText
ListControl.Command
ListControl.CommandParameter
ListControl.CommandTarget
ListControl.IsItemsHostVisible
ListControl.HighlightedItem
ListControl.KeyboardNavigation
ListControl.AutocompleteBehavior
ListControl.HighlightedIndex
ListControl.IScrollingInfo.ViewportHeight
ListControl.IScrollingInfo.ViewportWidth
ListControl.IScrollingInfo.HorizontalOffset
ListControl.IScrollingInfo.VerticalOffset
ListControl.IScrollingInfo.ExtentHeight
ListControl.IScrollingInfo.ExtentWidth
ListControl.IListControl.Items
ItemsControlSelector.SelectionModeProperty
ItemsControlSelector.IsSynchronizedWithCurrentItemProperty
ItemsControlSelector.SelectedIndexProperty
ItemsControlSelector.SelectedItemProperty
ItemsControlSelector.SelectedValueProperty
ItemsControlSelector.SelectedValuePathProperty
ItemsControlSelector.TextProperty
ItemsControlSelector.TextPathProperty
ItemsControlSelector.EnableSelectionCachingProperty
ItemsControlSelector.SelectionChangedEvent
ItemsControlSelector.ISelectorInteraction.IsItemSelectable(Object)
ItemsControlSelector.ISelectorInteraction.GetItems()
ItemsControlSelector.ISelectorInteraction.MoveCurrentItemInCollectionView(Object)
ItemsControlSelector.OnItemsSourceChanged(IEnumerable, IEnumerable)
ItemsControlSelector.ChangeVisualState(Boolean)
ItemsControlSelector.OnIsEnabledChanged(DependencyPropertyChangedEventArgs)
ItemsControlSelector.InitializeValueRetriever()
ItemsControlSelector.InitializeSelectionBehavior()
ItemsControlSelector.GetSelectionBehavior()
ItemsControlSelector.EndInit()
ItemsControlSelector.ISelectorInteraction.IsDefaultCollectionView
ItemsControlSelector.SelectionMode
ItemsControlSelector.IsSynchronizedWithCurrentItem
ItemsControlSelector.SelectedItems
ItemsControlSelector.SelectionHelper
ItemsControlSelector.SelectedIndex
ItemsControlSelector.SelectedItem
ItemsControlSelector.SelectedValue
ItemsControlSelector.SelectedValuePath
ItemsControlSelector.SelectedValueBinding
ItemsControlSelector.TextBinding
ItemsControlSelector.Text
ItemsControlSelector.TextPath
ItemsControlSelector.EnableSelectionCaching
ItemsControlSelector.ItemSearch
ItemsControlSelector.ValueRetriever
ItemsControlSelector.TextRetriever
ItemsControlSelector.SelectionChanged
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll

Syntax

[TelerikToolboxCategory("Data")]
public class RadListBox : ListControl, IMultiSelector, ISelector, ISelectorInteraction, IAutocomplete, IListControl, ICommandSource, IScrollingServiceCore, IScrollingInfo

Constructors

RadListBox()

Initializes a new instance of the RadListBox class.

Declaration
public RadListBox()

Fields

DataConverterProperty

Identifies the DataConverter dependency property.

Declaration
public static readonly DependencyProperty DataConverterProperty
Field Value
System.Windows.DependencyProperty

DragDropBehaviorProperty

Identifies the DragDropBehavior property.

Declaration
public static readonly DependencyProperty DragDropBehaviorProperty
Field Value
System.Windows.DependencyProperty

DragVisualProviderProperty

Identifies the DragVisualProvider dependency property.

Declaration
public static readonly DependencyProperty DragVisualProviderProperty
Field Value
System.Windows.DependencyProperty

DropVisualProviderProperty

Identifies the IsReadOnly property.

Declaration
public static readonly DependencyProperty DropVisualProviderProperty
Field Value
System.Windows.DependencyProperty

Properties

DataConverter

Gets or sets the DataConverter. This is a dependency property.

Declaration
public DataConverter DataConverter { get; set; }
Property Value
DataConverter

DragDropBehavior

Gets or sets the DragDropBehavior. This is a dependency property.

Declaration
public ListBoxDragDropBehavior DragDropBehavior { get; set; }
Property Value
ListBoxDragDropBehavior

DragVisualProvider

Gets or sets the DragVisualProvider. This is a dependency property.

Declaration
public IDragVisualProvider DragVisualProvider { get; set; }
Property Value
IDragVisualProvider

DropVisualProvider

Gets or sets the DropVisualProvider. This is a dependency property.

Declaration
public IDropVisualProvider DropVisualProvider { get; set; }
Property Value
IDropVisualProvider

Methods

GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.DependencyObject

The element that is used to display the given item.

Overrides
ListControl.GetContainerForItemOverride()

GetDataItem(UIElement)

Gets the data item according to its container.

Declaration
public override object GetDataItem(UIElement container)
Parameters
System.Windows.UIElement container

The container.

Returns
System.Object

Overrides
ItemsControlSelector.GetDataItem(UIElement)

HandleKeyboardInput(Key)

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.

Declaration
protected override bool HandleKeyboardInput(Key key)
Parameters
System.Windows.Input.Key key

The key.

Returns
System.Boolean

Overrides
ListControl.HandleKeyboardInput(Key)

InitializeTextRetriever()

Initializes the text Retriever.

Declaration
protected override void InitializeTextRetriever()
Overrides
ItemsControlSelector.InitializeTextRetriever()

IsItemSelectable(Object)

Determines whether an item is selectable or not.

Declaration
protected override bool IsItemSelectable(object item)
Parameters
System.Object item

The item.

Returns
System.Boolean

Overrides
ItemsControlSelector.IsItemSelectable(Object)

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

Declaration
public override void OnApplyTemplate()
Overrides
ListControl.OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Raises the ItemsChanged event.

Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs e

The System.Collections.Specialized.NotifyCollectionChangedEventArgs instance containing the event data.

Overrides
ItemsControlSelector.OnItemsChanged(NotifyCollectionChangedEventArgs)

OnKeyDown(KeyEventArgs)

Invoked when the System.Windows.UIElement.KeyDown event is received.

Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs e

Information about the event.

OnSelectionChanged(SelectionChangedEventArgs)

Called when the selection changes.

Declaration
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters
System.Windows.Controls.SelectionChangedEventArgs e

The event data.

Overrides
ListControl.OnSelectionChanged(SelectionChangedEventArgs)

OnTextInput(TextCompositionEventArgs)

Invoked when the System.Windows.UIElement.TextInput event is received.

Declaration
protected override void OnTextInput(TextCompositionEventArgs e)
Parameters
System.Windows.Input.TextCompositionEventArgs e

Information about the event.

UpdateItems(NotifyCollectionChangedAction, IList, IList)

Updates the items when ItemsChanged occurs.

Declaration
protected override void UpdateItems(NotifyCollectionChangedAction action, IList newItems, IList oldItems)
Parameters
System.Collections.Specialized.NotifyCollectionChangedAction action

The action.

System.Collections.IList newItems

The new items.

System.Collections.IList oldItems

The old items.

Overrides
ItemsControlSelector.UpdateItems(NotifyCollectionChangedAction, IList, IList)

Extension Methods

ItemsControlSelectorExtensions.ContainerFromItemOrContainer(ItemsControlSelector, Object)
ItemsControlSelectorExtensions.ContainerFromIndex(ItemsControlSelector, Int32)
CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.