Click or drag to resize
ListControl Class
Represents the list control that has multi-selection.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.Primitives
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2018.2.620.40 (2018.2.620.40)
Syntax
public class ListControl : ItemsControlSelector, 
	IListControl, ICommandSource, IScrollingServiceCore, IScrollingInfo

The ListControl type exposes the following members.

Constructors
  NameDescription
Public methodListControl
Initializes a new instance of the ListControl class.
Top
Methods
  NameDescription
Protected methodCanPerformSelection
Indicates whether the selection helper can perform operation or not.
(Overrides ItemsControlSelectorCanPerformSelection.)
Protected methodChangeVisualState
Updates the visual state of the control.
(Inherited from ItemsControlSelector.)
Protected methodClearContainerForItemOverride
Clears the values for SelectionHelper, ParentSelector and IsSelected properties.
(Overrides ItemsControlClearContainerForItemOverride(DependencyObject, Object).)
Protected methodClearContainerStates
Clears the properties that effect the visual states for the given container. This method is called in ClearContainerForItemOverride(DependencyObject, Object)
Public methodEndInit
Called when the control is Initialized.
(Inherited from ItemsControlSelector.)
Protected methodGetContainerForItemOverride
Creates or identifies the element that is used to display the given item.
(Overrides ItemsControlGetContainerForItemOverride.)
Public methodGetDataItem
Gets the data item according to its container.
(Inherited from ItemsControlSelector.)
Protected methodGetScrollViewerPart
Called on initializing the ScrollViewer on template applied. It's mandatory to get the ScrollViewer in order to perform selection.
Protected methodGetSelectionBehavior
Gets the selection behavior.
(Inherited from ItemsControlSelector.)
Protected methodHandleKeyboardInput
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 methodHighlightedIndexChanged
Highlights the changed index.
Protected methodInitializeSelectionBehavior
Initializes the selection behavior.
(Inherited from ItemsControlSelector.)
Protected methodInitializeTextRetriever
Initializes the text Retriever.
(Inherited from ItemsControlSelector.)
Protected methodInitializeValueRetriever
Initializes the value Retriever.
(Inherited from ItemsControlSelector.)
Protected methodIsIndexSelectable
Determines whether the index is selectable.
(Overrides ItemsControlSelectorIsIndexSelectable(Int32).)
Protected methodIsItemItsOwnContainerOverride
Determines if the specified item is (or is eligible to be) its own container.
(Overrides ItemsControlIsItemItsOwnContainerOverride(Object).)
Protected methodIsItemSelectable
Determines whether an item is selectable or not.
(Inherited from ItemsControlSelector.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides ItemsControlSelectorOnApplyTemplate.)
Protected methodOnAutocompleteBehaviorTypedTextChanged
Called when a text is typed.
Protected methodOnIsEnabledChanged
Invoked when the IsEnabled property of the control changes.
(Inherited from ItemsControlSelector.)
Protected methodOnItemsChanged
Raises the [E:ItemsChanged] event.
(Inherited from ItemsControlSelector.)
Protected methodOnItemsPanelChanged
Invoked when the ItemsPanel property changes.
(Overrides ItemsControlOnItemsPanelChanged(ItemsPanelTemplate, ItemsPanelTemplate).)
Protected methodOnItemsSourceChanged
Called when the SelectorControl.ItemsSource" property changes.
(Inherited from ItemsControlSelector.)
Protected methodOnMatchingItemChanged
When overridden in a derived class, is invoked whenever application code or internal processes call OnMatchingItemChanged. Called when matching item is changed. Override this method if a custom logic is required when an item is changed.
Protected methodOnSelectionChanged
Called when the selection changes.
(Overrides ItemsControlSelectorOnSelectionChanged(SelectionChangedEventArgs).)
Protected methodOnSelectionModeChanged
Called when selection mode changed. Update CanAutocompleteSelectItems property.
(Overrides ItemsControlSelectorOnSelectionModeChanged.)
Protected methodPrepareContainerForItemOverride
Prepares the specified element to display the specified item.
(Overrides ItemsControlPrepareContainerForItemOverride(DependencyObject, Object).)
Public methodScrollIntoView(Int32)
Scrolls the into view.
Public methodScrollIntoView(Object)
Scrolls the into view.
Protected methodUpdateItems
Updates the items when ItemsChanged occurs.
(Inherited from ItemsControlSelector.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodContainerFromIndex
Get container from index.
(Defined by ItemsControlSelectorExtensions.)
Public Extension MethodContainerFromItemOrContainer
Get container from item or container.
(Defined by ItemsControlSelectorExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberCanAutocompleteSelectItemsProperty
Identifies the CanAutocompleteSelectItems dependency property.
Public fieldStatic memberCanAutocompleteSelectPartialMatchesProperty
Identifies the CanAutocompleteSelectPartialMatches dependency property.
Public fieldStatic memberCanKeyboardNavigationSelectItemsProperty
Identifies the CanListControlKeyboardNavigationSelectItems dependency property.
Public fieldStatic memberCommandParameterProperty
Identifies the CommandParameter dependency property.
Public fieldStatic memberCommandProperty
Identifies the Command dependency property.
Public fieldStatic memberCommandTargetProperty
Identifies the CommandTarget dependency property.
Public fieldStatic memberIsScrollIntoViewEnabledProperty
Identifies the IsScrollIntoViewOnSelectionEnabled dependency property. This property determines of the selected item will be automatically scrolled into the view.
Public fieldStatic memberTextSearchModeProperty
Identifies the TextSearchMode dependency property.
Public fieldStatic memberTypedTextProperty
Identifies the TypedText dependency property.
Top
Properties
  NameDescription
Protected propertyAutocompleteBehavior
Gets or sets the autocomplete behavior.
Public propertyCanAutocompleteSelectItems
Gets or sets a value that specifies whether the autocomplete should select items, or not. This is a dependency property.
Public propertyCanAutocompleteSelectPartialMatches
Gets or sets a value that specifies whether the autocomplete should select partially matching items, or not. This is a dependency property.
Public propertyCanKeyboardNavigationSelectItems
Gets or sets the CanKeyboardNavigationSelectItems. This is a dependency property.
Public propertyCommand
Gets or sets the Command. This is a dependency property.
Public propertyCommandParameter
Gets or sets the CommandParameter. This is a dependency property.
Public propertyCommandTarget
Gets or sets the CommandTarget. This is a dependency property.
Public propertyEnableSelectionCaching
Gets or sets the EnableSelectionCaching. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyHighlightedIndex
Gets the index of the highlighted item.
Protected propertyHighlightedItem
Gets or sets the highlighted item.
Protected propertyIsItemsHostVisible
Gets a value indicating whether the items host is visible. Override if a custom logic is required. Default value is true.
Public propertyIsScrollIntoViewEnabled
Gets or sets the IsScrollIntoViewEnabled. This is a dependency property.
Public propertyIsSynchronizedWithCurrentItem
Gets or sets the IsSynchronizedWithCurrentItem. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyItemSearch
Gets the ItemSearch which defines the logic how the items are found via the retrievers.
(Inherited from ItemsControlSelector.)
Protected propertyKeyboardNavigation
Gets the keyboard navigation.
Public propertyStatic memberSelectAllCommand
Gets the command that will be executed when select all. This is a RoutedUICommand.
Public propertySelectedIndex
Gets or sets the SelectedIndex. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertySelectedItem
Gets the item which is currently selected.
(Inherited from ItemsControlSelector.)
Public propertySelectedItems
Gets a collection of selected items.
(Inherited from ItemsControlSelector.)
Public propertySelectedValue
Gets the value for the selected item.
(Inherited from ItemsControlSelector.)
Public propertySelectedValueBinding
Gets or sets the SelectedValueBinding.
(Inherited from ItemsControlSelector.)
Public propertySelectedValuePath
Gets or sets the selected value path.
(Inherited from ItemsControlSelector.)
Public propertySelectionHelper
The selection helper used in all ItemsControlSelectors. It coordinates the selection using the selection behaviors.
(Inherited from ItemsControlSelector.)
Public propertySelectionMode
Gets or sets the SelectionMode. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyText
Gets or sets the Text. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyTextBinding
Gets or sets the TextBinding.
(Inherited from ItemsControlSelector.)
Public propertyTextPath
Gets or sets the TextPath. This is a dependency property.
(Inherited from ItemsControlSelector.)
Public propertyTextRetriever
Gets the text Retriever that is used for item search.
(Inherited from ItemsControlSelector.)
Public propertyTextSearchMode
Gets or sets the text search mode. Specifies how TextSearch will match items. This is a dependency property.
Public propertyTypedText
Gets or sets the current typed text. This is a dependency property.
Public propertyValueRetriever
Gets the value Retriever that is used for item search.
(Inherited from ItemsControlSelector.)
Top
Events
  NameDescription
Public eventSelectionChanged
Occurs when the selection of a Selector changes.
(Inherited from ItemsControlSelector.)
Top
See Also