IItemsControl
An interface which provides methods for handling a collection of RadItems. This interface is used throughout controls which represent a list of items.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public interface IItemsControl
Derived Classes:
Properties
Gets a collection containing the items that are currently active.
RadItemOwnerCollection ActiveItems { get; }
Gets the collection of items associated with the IItemsControl.
RadItemOwnerCollection Items { get; }
Gets or sets a boolean value that determines whether keyboard input will be processed by the IItemsControl.
bool ProcessKeyboard { get; set; }
Gets or sets a boolean value that determines whether the rollover items functionality will be allowed.
bool RollOverItemSelection { get; set; }
Methods
Gets the first visible item from the collection. In a IItemsControl that is the first item that is visible on the control.
RadItem GetFirstVisibleItem()
A reference to a RadItem instance that represents the first visible control.
Gets the last visible item from the collection. In a IItemsControl that is the last item that is visible on the control.
RadItem GetLastVisibleItem()
A reference to a RadItem instance that represents the last visible control.
Gets an item from the collection that is next to a certain item.
Returns the selected item in the control.
RadItem GetSelectedItem()
An reference to a RadItem instance which represents the currently selected item.
Selects the first visible item on the IItemsControl.
RadItem SelectFirstVisibleItem()
A reference to a RadItem instance that represents the item selected.
Selects an item in the control.
void SelectItem(RadItem item)
A reference to a RadItem instance which represents the item which is to be selected.
Selects the last visible item on the IItemsControl.
RadItem SelectLastVisibleItem()
A reference to a RadItem instance that represents the item selected.
Selects an item from the collection that is next to a certain item.
Events
Fires when an item has been deselected.
event ItemSelectedEventHandler ItemDeselected
Fires when an item has been selected.
event ItemSelectedEventHandler ItemSelected