Click or drag to resize
MenuBase Class
Represents a control that defines choices for users to select.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public abstract class MenuBase : ItemsControl

The MenuBase type exposes the following members.

Constructors
  NameDescription
Protected methodMenuBase
Initializes a new instance of the MenuBase class.
Top
Methods
  NameDescription
Protected methodClearContainerForItemOverride
Clear the Menu property.
(Overrides ItemsControlClearContainerForItemOverride(DependencyObject, Object).)
Protected methodGetContainerForItemOverride
Creates or identifies the element that is used to display the given item.
(Overrides ItemsControlGetContainerForItemOverride.)
Protected methodIsItemItsOwnContainerOverride
Determines if the specified item is (or is eligible to be) its own container.
(Overrides ItemsControlIsItemItsOwnContainerOverride(Object).)
Protected methodIsItemItsOwnContainerProtected
Determines if the specified item is RadMenuItem.
Protected methodOnIsKeyboardFocusWithinChanged
Responds to a change to the IsKeyboardFocusWithin property.
(Overrides UIElementOnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs).)
Protected methodOnItemClick
Raises the ItemClick event.
Protected methodOnKeyDown
Invoked when keyboard key is pressed while the element has focus.
(Overrides ItemsControlOnKeyDown(KeyEventArgs).)
Protected methodOnLoaded
Called when a MenuBase is loaded.
Protected methodPrepareContainerForItemOverride
Prepares the specified element to display the specified item.
(Overrides ItemsControlPrepareContainerForItemOverride(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 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 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
Fields
  NameDescription
Public fieldStatic memberClickToOpenProperty
Identifies the ClickToOpen dependency property.
Public fieldStatic memberHideDelayProperty
Identifies the HideDelay dependency property.
Public fieldStatic memberIconColumnWidthProperty
Identifies the IconColumnWidth dependency property.
Public fieldStatic memberItemContainerTemplateSelectorProperty
Identifies the ItemContainerTemplateSelector dependency property.
Public fieldStatic memberNotifyOnHeaderClickProperty
Identifies the NotifyOnHeaderClick dependency property.
Public fieldStatic memberShowDelayProperty
Identifies the ShowDelay dependency property.
Top
Properties
  NameDescription
Public propertyClickToOpen
Gets or sets whether the child group opens upon clicking a parent item.
Public propertyHideDelay
Gets or sets the time, in milliseconds, before closing menu when the mouse cursor leave a submenu item.
Public propertyIconColumnWidth
Gets or sets the width of the column used to display the Icon.
Public propertyItemContainerTemplateSelector
Gets or sets the custom logic for choosing a template used to display each item.
Public propertyNotifyOnHeaderClick
Gets or sets a value indicating whether the ItemClick is raised when the user clicks on a item that has children.
Public propertyShowDelay
Gets or sets the time, in milliseconds, before displaying menu when the mouse cursor is over a submenu item.
Top
Events
  NameDescription
Public eventItemClick
Occurs when an item was clicked.
Top
See Also