Class RadListBox
Represents a ListBox control.
Inherited Members
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()
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
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
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
InitializeTextRetriever()
Initializes the text Retriever.
Declaration
protected override void InitializeTextRetriever()
Overrides
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
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
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
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
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. |