ClassRadSizableDropDownMenu
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadSizableDropDownMenu : RadEditorPopupControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, IItemsControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadSizablePopupControlRadEditorPopupControlBaseRadSizableDropDownMenu
Derived Classes:
Implements:
Inherited Members
Constructors
RadSizableDropDownMenu()
Declaration
public RadSizableDropDownMenu()
Properties
ActiveItems
Gets a collection containing the items that are currently active.
Declaration
public RadItemOwnerCollection ActiveItems { get; }
Property Value
Implements
Items
Gets the collection of items associated with the IItemsControl.
Declaration
public RadItemOwnerCollection Items { get; }
Property Value
Implements
MenuElement
Declaration
public SizableDropDownMenuElement MenuElement { get; }
Property Value
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
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
OnItemDeselected(ItemSelectedEventArgs, object)
Declaration
protected virtual void OnItemDeselected(ItemSelectedEventArgs args, object sender)
Parameters
args
sender
OnItemSelected(ItemSelectedEventArgs, object)
Declaration
protected virtual void OnItemSelected(ItemSelectedEventArgs args, object sender)
Parameters
args
sender
OnKeyDown(Keys)
Executes when a key is pressed.
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
Overrides
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
e
Overrides
PerformItemClick(RadMenuItemBase)
Declaration
protected void PerformItemClick(RadMenuItemBase menuItem)
Parameters
menuItem
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
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