ClassRadItemsPopupControl
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class RadItemsPopupControl : RadPopupControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, IItemsControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadItemsPopupControl
Derived Classes:
Implements:
Inherited Members
Constructors
RadItemsPopupControl(RadElement)
Declaration
public RadItemsPopupControl(RadElement owner)
Parameters
owner
Properties
ActiveItems
Gets a collection containing the items that are currently active.
Declaration
public RadItemOwnerCollection ActiveItems { get; }
Property Value
Implements
IsVisible
Gets a boolean value indicating whether the popup is visible.
Items
Gets menu items collection
Declaration
[Browsable(true)]
public RadItemOwnerCollection Items { get; }
Property Value
Implements
Maximum
Get/Set maximum value allowed for size
Minimum
Get/Set minimum value allowed for size
ProcessKeyboard
Gets or sets a boolean value that determines whether keyboard input will be processed by the IItemsControl.
Declaration
public bool ProcessKeyboard { get; set; }
Property Value
Implements
RollOverItemSelection
Gets or sets a boolean value that determines whether the rollover items functionality will be allowed.
Declaration
public bool RollOverItemSelection { get; set; }
Property Value
Implements
Methods
AutoUpdateBounds()
Declaration
protected void AutoUpdateBounds()
CallOnItemDeselected(ItemSelectedEventArgs)
Declaration
public void CallOnItemDeselected(ItemSelectedEventArgs args)
Parameters
args
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.
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
Overrides
GetFirstVisibleItem()
Gets the first visible item from the collection. In a IItemsControl that is the first item that is visible on the control.
Declaration
public RadItem GetFirstVisibleItem()
Returns
A reference to a RadItem instance that represents the first visible control.
Implements
GetLastVisibleItem()
Gets the last visible item from the collection. In a IItemsControl that is the last item that is visible on the control.
Declaration
public RadItem GetLastVisibleItem()
Returns
A reference to a RadItem instance that represents the last visible control.
Implements
GetNextItem(RadItem, bool)
Gets an item from the collection that is next to a certain item.
Declaration
public RadItem GetNextItem(RadItem item, bool forward)
Parameters
item
The item which neighbour to return.
forward
The direction in which to look for the neighbour.
Returns
A reference to a RadItem instance which represents the neighbour item.
Implements
GetSelectedItem()
Returns the selected item in the control.
Declaration
public RadItem GetSelectedItem()
Returns
An reference to a RadItem instance which represents the currently selected item.
Implements
OnDropDownClosed(RadPopupClosedEventArgs)
Declaration
protected virtual void OnDropDownClosed(RadPopupClosedEventArgs args)
Parameters
args
OnDropDownClosing(RadPopupClosingEventArgs)
Declaration
protected virtual void OnDropDownClosing(RadPopupClosingEventArgs args)
Parameters
args
OnDropDownOpened()
Declaration
protected virtual void OnDropDownOpened()
OnDropDownOpening(CancelEventArgs)
Declaration
protected virtual void OnDropDownOpening(CancelEventArgs args)
Parameters
args
OnItemDeselected(ItemSelectedEventArgs)
Declaration
protected virtual void OnItemDeselected(ItemSelectedEventArgs args)
Parameters
args
OnItemSelected(ItemSelectedEventArgs)
Declaration
protected virtual void OnItemSelected(ItemSelectedEventArgs args)
Parameters
args
SelectFirstVisibleItem()
Selects the first visible item on the IItemsControl.
Declaration
public RadItem SelectFirstVisibleItem()
Returns
A reference to a RadItem instance that represents the item selected.
Implements
SelectItem(RadItem)
Selects an item in the control.
Declaration
public void SelectItem(RadItem item)
Parameters
item
A reference to a RadItem instance which represents the item which is to be selected.
Implements
SelectLastVisibleItem()
Selects the last visible item on the IItemsControl.
Declaration
public RadItem SelectLastVisibleItem()
Returns
A reference to a RadItem instance that represents the item selected.
Implements
SelectNextItem(RadItem, bool)
Selects an item from the collection that is next to a certain item.
Declaration
public RadItem SelectNextItem(RadItem item, bool forward)
Parameters
item
The item which neighbour to return.
forward
The direction in which to look for the neighbour.
Returns
A reference to a RadItem instance which represents the neighbour item.
Implements
Events
DropDownClosed
Declaration
public event RadPopupClosedEventHandler DropDownClosed
Event Value
DropDownClosing
Declaration
public event RadPopupClosingEventHandler DropDownClosing
Event Value
DropDownOpening
Declaration
public event CancelEventHandler DropDownOpening
Event Value
ItemDeselected
Fires when an item has been deselected.
Declaration
public event ItemSelectedEventHandler ItemDeselected
Event Value
Implements
ItemSelected
Fires when an item has been selected.
Declaration
public event ItemSelectedEventHandler ItemSelected
Event Value
Implements