InterfaceIItemsControl
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
Properties
ActiveItems
Gets a collection containing the items that are currently active.
Declaration
RadItemOwnerCollection ActiveItems { get; }
Property Value
Items
Gets the collection of items associated with the IItemsControl.
Declaration
RadItemOwnerCollection Items { get; }
Property Value
ProcessKeyboard
Gets or sets a boolean value that determines whether keyboard input will be processed by the IItemsControl.
RollOverItemSelection
Gets or sets a boolean value that determines whether the rollover items functionality will be allowed.
Methods
CanNavigate(Keys)
Defines whether the IItemsControl can execute navigation operation based on the keydata provided.
CanProcessMnemonic(char)
Defines whether the IItemsControl has an item that corresponds to the mnemonic passed in the parameter.
GetFirstVisibleItem()
Gets the first visible item from the collection. In a IItemsControl that is the first item that is visible on the control.
Declaration
RadItem GetFirstVisibleItem()
Returns
A reference to a RadItem instance that represents the first visible control.
GetLastVisibleItem()
Gets the last visible item from the collection. In a IItemsControl that is the last item that is visible on the control.
Declaration
RadItem GetLastVisibleItem()
Returns
A reference to a RadItem instance that represents the last visible control.
GetNextItem(RadItem, bool)
Gets an item from the collection that is next to a certain item.
GetSelectedItem()
Returns the selected item in the control.
Declaration
RadItem GetSelectedItem()
Returns
An reference to a RadItem instance which represents the currently selected item.
SelectFirstVisibleItem()
Selects the first visible item on the IItemsControl.
Declaration
RadItem SelectFirstVisibleItem()
Returns
A reference to a RadItem instance that represents the item selected.
SelectItem(RadItem)
Selects an item in the control.
Declaration
void SelectItem(RadItem item)
Parameters
item
A reference to a RadItem instance which represents the item which is to be selected.
SelectLastVisibleItem()
Selects the last visible item on the IItemsControl.
Declaration
RadItem SelectLastVisibleItem()
Returns
A reference to a RadItem instance that represents the item selected.
SelectNextItem(RadItem, bool)
Selects an item from the collection that is next to a certain item.
Events
ItemDeselected
Fires when an item has been deselected.
Declaration
event ItemSelectedEventHandler ItemDeselected
Event Value
ItemSelected
Fires when an item has been selected.
Declaration
event ItemSelectedEventHandler ItemSelected
Event Value