Click or drag to resize
DropDownMenu Class
A class used for the DropDown menu of the TabControl.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.TabControl
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2014.3.1202.1050 (2014.3.1202.1050)
Syntax
public class DropDownMenu : RadContextMenu

The DropDownMenu type exposes the following members.

Constructors
  NameDescription
Public methodDropDownMenu
Top
Methods
  NameDescription
Protected methodChangeVisualState
Changes the visual state of the control using transitions.
(Inherited from ItemsControl.)
Protected methodChangeVisualState(Boolean)
Updates the visual state of the control.
(Overrides RadContextMenuChangeVisualState(Boolean).)
Protected methodClearContainerForItemOverride
When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride(DependencyObject, Object) method.
(Overrides RadContextMenuClearContainerForItemOverride(DependencyObject, Object).)
Public methodGetClickedElementT
Returns the top-most element of the given type at the MousePosition coordinates.
(Inherited from RadContextMenu.)
Protected methodGetContainerForItemOverride
Creates or identifies the element that is used to display the given item.
(Overrides MenuBaseGetContainerForItemOverride.)
Protected methodIsItemItsOwnContainerOverride
Determines if the specified item is (or is eligible to be) its own container.
(Inherited from MenuBase.)
Protected methodIsItemItsOwnContainerProtected
Determines if the specified item is RadMenuItem.
(Overrides MenuBaseIsItemItsOwnContainerProtected(Object).)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.
(Overrides RadContextMenuOnApplyTemplate.)
Protected methodOnClosed
Called when the Closed event occurs.
(Inherited from RadContextMenu.)
Protected methodOnCreateAutomationPeer
(Inherited from RadContextMenu.)
Protected methodOnGotFocus
Called before the GotFocus event occurs.
(Inherited from ItemsControl.)
Protected methodOnIsEnabledChanged
Invoked when the IsEnabled property of the control changes.
(Inherited from ItemsControl.)
Protected methodOnIsFocusedChanged
Called when the IsFocused property changes.
(Inherited from ItemsControl.)
Protected methodOnItemClick
Raises the ItemClick event.
(Inherited from MenuBase.)
Protected methodOnItemsChanged
Called when the value of the Items property changes.
(Inherited from ItemsControl.)
Protected methodOnItemTemplateSelectorChanged
When overridden OnRadItemTemplateSelectorChanged is called when the TemplateSelector for the contained items changes.
(Inherited from ItemsControl.)
Protected methodOnKeyDown
Invoked when keyboard key is pressed while the element has focus.
(Inherited from RadContextMenu.)
Protected methodOnLoaded
Called when a MenuBase is loaded.
(Inherited from MenuBase.)
Protected methodOnLostFocus
Occurs when a MenuBase loses focus.
(Inherited from MenuBase.)
Protected methodOnMouseRightButtonDown
Handles MouseRightButtonDown event if there is no selection. This is done to prevent showing Silverlight Context Menu.
(Inherited from RadContextMenu.)
Protected methodOnOpened
Called when the Opened event occurs.
(Overrides RadContextMenuOnOpened(RadRoutedEventArgs).)
Protected methodPrepareContainerForItemOverride
Prepares the specified element to display the specified item.
(Overrides RadContextMenuPrepareContainerForItemOverride(DependencyObject, Object).)
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 MethodClearValue
Clears the local value of the read only property.
(Defined by DependencyPropertyExtensions.)
Public Extension MethodCoerceValue
Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.
(Defined by DependencyPropertyExtensions.)
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 MethodSetValue
Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.
(Defined by DependencyPropertyExtensions.)
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
Properties
  NameDescription
Public propertyAttachOnHandledEvents
Gets or sets whether RadContextMenu will open on handled routed events. The default value is false. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyClickToOpen
Gets or sets whether the child group opens upon clicking a parent item.
(Inherited from MenuBase.)
Public propertyEventName
Gets or sets the name of the event that will open the context menu.
(Inherited from RadContextMenu.)
Public propertyHasItems
Gets whether the ItemsControl has any children.
(Inherited from ItemsControl.)
Public propertyHideDelay
Gets or sets the time, in milliseconds, before closing menu when the mouse cursor leave a submenu item.
(Inherited from MenuBase.)
Public propertyHorizontalOffset
Get or sets the horizontal distance between the target origin and the popup alignment point. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyIconColumnWidth
Gets or sets the width of the column used to display the Icon.
(Inherited from MenuBase.)
Public propertyInheritDataContext
Get or sets whether RadContextMenu will inherit DataContext of the element on which it is attached. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyIsFocused
Gets a value indicating whether the control is focused.
(Inherited from ItemsControl.)
Public propertyIsOpen
Gets or sets a value that indicates whether the RadContextMenu is visible. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyIsTextSearchEnabled
Gets or sets a value indicating whether TextSearch is enabled on the ItemsControl instance. This is a dependency property.
(Inherited from ItemsControl.)
Public propertyItemContainerGenerator
Gets the ItemContainerGenerator that is associated with the control.
(Inherited from ItemsControl.)
Public propertyItemContainerStyle
Gets or sets the style for the item containers of the control. This is a dependency property.
(Inherited from ItemsControl.)
Public propertyItemContainerStyleSelector
Gets or sets the style selector for the items of the control. This is a dependency property.
(Inherited from ItemsControl.)
Public propertyItemContainerTemplateSelector
Gets or sets the custom logic for choosing a template used to display each item.
(Inherited from MenuBase.)
Public propertyItemTemplateSelector
Gets or sets the template selector for the items of the control. This is a dependency property.
(Inherited from ItemsControl.)
Public propertyModifierKey
Gets or sets a ModifierKey that should be pressed when EventName event occurs to open the RadContextMenu. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyMousePosition
Gets the position of the mouse at the moment when the menu was opened relative to the element that caused RadContextMenu to open. Returns Point(double.NaN, double.NaN) if context menu is closed or if the event caused context menu Opened is not Mouse event (e.g. not MouseRightButtonUp, MouseLeftButtonUp, etc.).
(Inherited from RadContextMenu.)
Public propertyNotifyOnHeaderClick
Gets or sets a value indicating whether the ItemClick is raised when the user clicks on a item that has children.
(Inherited from MenuBase.)
Protected propertyOverrideStyles
Gets whether Style should be applied on container even if Style property is already set.
(Inherited from ItemsControl.)
Public propertyPlacement
Gets or sets the Placement property of a RadContextMenu. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyPlacementRectangle
Gets or sets the area relative to which the context menu is positioned when it opens. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyPlacementTarget
Gets or sets the PlacementTarget. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyShowDelay
Gets or sets the time, in milliseconds, before displaying menu when the mouse cursor is over a submenu item.
(Inherited from MenuBase.)
Public propertyStaysOpen
Gets or sets a value that indicates whether the RadContextMenu should close automatically. This is a dependency property.
(Inherited from RadContextMenu.)
Public propertyUIElement
Gets the element on which RadContextMenu is attached.
(Inherited from RadContextMenu.)
Public propertyVerticalOffset
Get or sets the vertical distance between the target origin and the popup alignment point. This is a dependency property.
(Inherited from RadContextMenu.)
Top
Events
  NameDescription
Public eventClosed
Occurs when a particular instance of a RadContextMenu closes.
(Inherited from RadContextMenu.)
Public eventItemClick
Occurs when an item was clicked.
(Inherited from MenuBase.)
Public eventOpened
Occurs when a particular instance of a RadContextMenu opens.
(Inherited from RadContextMenu.)
Public eventOpening
Occurs before particular instance of RadContextMenu opens. If it is handled then RadContextMenu will not open.
(Inherited from RadContextMenu.)
Top
See Also