Class
RadMenuItemBase

Represents a base class for the RadMenuItem class.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public abstract class RadMenuItemBase : RadButtonItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IButtonControl, IImageElement, IHierarchicalItem, IItemsOwner, ISiteProvider

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadButtonItemRadMenuItemBase

Derived Classes: FilterMenuButtonsItemFilterMenuCalendarItemFilterMenuCustomDateItemFilterMenuListItemFilterMenuTreeItemPivotFilterMenuButtonsItemPivotFilterMenuCheckBoxItemRadCommandBarOverflowMenuItemRadMenuButtonItemRadMenuComboItemRadMenuContentItemRadMenuHeaderItemRadMenuHostItemRadMenuItemRadMenuPasteOptionsButtonItemRadMenuSeparatorItemListViewMenuItemRadMenuInsertTableItemSpreadsheetFilterButtonsMenuItemsSpreadsheetFilterListViewMenuItemSpreadsheetFilterTreeViewMenuItemListViewMenuItem

Implements: IBindableComponentIButtonControlIComponentICustomTypeDescriptorIDisposableIHierarchicalItemIImageElementIItemsOwnerINotifyPropertyChangedIShortcutProviderISiteProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkin

Inherited Members RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseMove(MouseEventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnPanGesture(PanGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintElement(IGraphics, float, SizeF)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.CreateChildElements()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnLoaded()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ArrangeOverride(SizeF)RadElement.MeasureOverride(SizeF)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.GetClipRect()RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.GetStylablePropertiesFilter()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnBoundsChanged(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RadMenuItemBase()

Initializes a new instance of the RadMenuItemBase class.

Declaration

cs-api-definition
public RadMenuItemBase()

Fields

IsPopupShownProperty

Declaration

cs-api-definition
public static readonly RadProperty IsPopupShownProperty

Field Value

RadProperty

PopupDirectionProperty

Declaration

cs-api-definition
public static readonly RadProperty PopupDirectionProperty

Field Value

RadProperty

SelectedProperty

Declaration

cs-api-definition
public static readonly RadProperty SelectedProperty

Field Value

RadProperty

pressedButton

Declaration

cs-api-definition
protected MouseButtons pressedButton

Field Value

MouseButtons

Properties

DropDown

Gets the drop down menu associated with this menu item

Declaration

cs-api-definition
[Browsable(false)]
public RadDropDownMenu DropDown { get; }

Property Value

RadDropDownMenu

DropDownHeaderImage

Gets or sets menu header column image

Declaration

cs-api-definition
public Image DropDownHeaderImage { get; set; }

Property Value

Image

DropDownHeaderText

Gets or sets menu header column text

Declaration

cs-api-definition
public string DropDownHeaderText { get; set; }

Property Value

string

HandlesKeyboard

Declaration

cs-api-definition
[Browsable(false)]
public virtual bool HandlesKeyboard { get; set; }

Property Value

bool

HasChildItemsToShow

Gets a values indicating whether this item has child items to show.

Declaration

cs-api-definition
[Browsable(false)]
public virtual bool HasChildItemsToShow { get; }

Property Value

bool

HasChildren

Gets a value indicating whether this item has child items.

Declaration

cs-api-definition
[Browsable(false)]
public bool HasChildren { get; }

Property Value

bool

Implements IHierarchicalItem.HasChildren

HierarchyParent

Gets or sets the parent menu item.

Declaration

cs-api-definition
[Browsable(false)]
public IHierarchicalItem HierarchyParent { get; set; }

Property Value

IHierarchicalItem

Implements IHierarchicalItem.HierarchyParent

IsMainMenuItem

Declaration

cs-api-definition
[Browsable(false)]
public bool IsMainMenuItem { get; set; }

Property Value

bool

IsOnDropDown

Declaration

cs-api-definition
[Browsable(false)]
public bool IsOnDropDown { get; }

Property Value

bool

IsPopupShown

Gets a value indiciating that the popup containing this menu item's children is shown.

Declaration

cs-api-definition
[Browsable(true)]
public bool IsPopupShown { get; }

Property Value

bool

IsRootItem

Gets a value indicating whether this item is in the root items collection.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsRootItem { get; }

Property Value

bool

Implements IHierarchicalItem.IsRootItem

Items

Gets a collection of the child items.

Declaration

cs-api-definition
public RadItemOwnerCollection Items { get; }

Property Value

RadItemOwnerCollection

Implements IItemsOwner.Items

MdiList

Declaration

cs-api-definition
public bool MdiList { get; set; }

Property Value

bool

MergeOrder

Declaration

cs-api-definition
public int MergeOrder { get; set; }

Property Value

int

MergeType

Declaration

cs-api-definition
public MenuMerge MergeType { get; set; }

Property Value

MenuMerge

Next

Gets the next child item in the parent item's Items collection.

Declaration

cs-api-definition
[Browsable(false)]
public RadItem Next { get; }

Property Value

RadItem

Implements IHierarchicalItem.Next

Owner

Gets or sets the item's owner.

Declaration

cs-api-definition
[Browsable(false)]
public object Owner { get; set; }

Property Value

object

Implements IHierarchicalItem.Owner

OwnerControl

Returns the control that owns this item. This can be a RadMenu or RadDropDownMenu.

Declaration

cs-api-definition
[Browsable(false)]
public virtual Control OwnerControl { get; }

Property Value

Control

PopupDirection

Gets or sets the direction of the popup which is opened by this menu item.

Declaration

cs-api-definition
[Browsable(true)]
public RadDirection PopupDirection { get; set; }

Property Value

RadDirection

Previous

Gets the previous child item in the parent item's Items collection.

Declaration

cs-api-definition
[Browsable(false)]
public RadItem Previous { get; }

Property Value

RadItem

Implements IHierarchicalItem.Previous

RootItem

Gets the root item of this item's hierarchy.

Declaration

cs-api-definition
public IHierarchicalItem RootItem { get; }

Property Value

IHierarchicalItem

Implements IHierarchicalItem.RootItem

Selected

Declaration

cs-api-definition
[Browsable(false)]
public bool Selected { get; set; }

Property Value

bool

ShortcutsHandler

Gets the shortcuts handler for managing keyboard shortcuts.

Declaration

cs-api-definition
protected override IComponentTreeHandler ShortcutsHandler { get; }

Property Value

IComponentTreeHandler

Overrides RadItem.ShortcutsHandler

Methods

AdjustDropDownAlignmentForOrientation()

Declaration

cs-api-definition
protected virtual void AdjustDropDownAlignmentForOrientation()

AdjustDropDownAlignmentForPopupDirection()

Declaration

cs-api-definition
protected virtual void AdjustDropDownAlignmentForPopupDirection()

AdjustDropDownAnimations()

Declaration

cs-api-definition
protected virtual void AdjustDropDownAnimations()

CreateDropDownMenu()

Declaration

cs-api-definition
protected virtual RadDropDownMenu CreateDropDownMenu()

Returns

RadDropDownMenu

DisposeManagedResources()

Disposes managed resources, including the associated image if it's not shared with other items.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides RadButtonItem.DisposeManagedResources()

EnsureDropDownCreated()

Declaration

cs-api-definition
protected virtual void EnsureDropDownCreated()

GetClientRectangle(SizeF)

Declaration

cs-api-definition
protected override RectangleF GetClientRectangle(SizeF finalSize)

Parameters

finalSize

SizeF

Returns

RectangleF

Overrides RadElement.GetClientRectangle(SizeF)

GetSite()

Declaration

cs-api-definition
public ISite GetSite()

Returns

ISite

Implements ISiteProvider.GetSite()

HideChildItems()

Closes the RadMenuItemBase popup.

Declaration

cs-api-definition
public virtual void HideChildItems()

InitializeFields()

Initializes the internal state fields for the button item, setting default values for shared image and capture behavior.

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides RadButtonItem.InitializeFields()

OnBubbleEvent(RadElement, RoutedEventArgs)

Called when the bubble phase of a routed event occurs.

Declaration

cs-api-definition
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)

Parameters

sender

RadElement

The element that originally raised the event.

args

RoutedEventArgs

The routed event arguments.

Overrides RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)

OnDoubleClick(EventArgs)

Handles the double click event by delegating to the OnClick(EventArgs) method, treating double clicks as single clicks.

Declaration

cs-api-definition
protected override void OnDoubleClick(EventArgs e)

Parameters

e

EventArgs

The EventArgs containing event data.

Overrides RadButtonItem.OnDoubleClick(EventArgs)

OnDropDownClosed(RadPopupClosedEventArgs)

Raises the DropDownClosed event.

Declaration

cs-api-definition
protected virtual void OnDropDownClosed(RadPopupClosedEventArgs args)

Parameters

args

RadPopupClosedEventArgs

An EventArgs that contains the event data.

OnDropDownClosing(RadPopupClosingEventArgs)

Raises the DropDownClosing event.

Declaration

cs-api-definition
protected virtual void OnDropDownClosing(RadPopupClosingEventArgs args)

Parameters

args

RadPopupClosingEventArgs

An instance of the RadPopupClosingEventArgs class that contains information about the event.

OnDropDownCreated()

Declaration

cs-api-definition
protected virtual void OnDropDownCreated()

OnDropDownOpened(EventArgs)

Raises the DropDownOpened event.

Declaration

cs-api-definition
protected virtual void OnDropDownOpened(EventArgs args)

Parameters

args

EventArgs

An EventArgs that contains the event data.

OnDropDownOpening(CancelEventArgs)

Raises the DropDownOpening event.

Declaration

cs-api-definition
protected virtual void OnDropDownOpening(CancelEventArgs args)

Parameters

args

CancelEventArgs

An EventArgs that contains the event data.

OnMouseDown(MouseEventArgs)

Handles the mouse down event by setting the button to pressed state and capturing mouse input when appropriate.

Declaration

cs-api-definition
protected override void OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing event data.

Overrides RadButtonItem.OnMouseDown(MouseEventArgs)

OnMouseEnter(EventArgs)

Handles the mouse enter event by setting the button to pressed state when in hover click mode or when a press is pending.

Declaration

cs-api-definition
protected override void OnMouseEnter(EventArgs e)

Parameters

e

EventArgs

The EventArgs containing event data.

Overrides RadButtonItem.OnMouseEnter(EventArgs)

OnMouseLeave(EventArgs)

Handles the mouse leave event by releasing the pressed state and managing press-on-return behavior.

Declaration

cs-api-definition
protected override void OnMouseLeave(EventArgs e)

Parameters

e

EventArgs

The EventArgs containing event data.

Overrides RadButtonItem.OnMouseLeave(EventArgs)

OnPropertyChanged(RadPropertyChangedEventArgs)

Handles property changes, specifically releasing the pressed state when the button is disabled.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

The RadPropertyChangedEventArgs containing event data.

Overrides RadButtonItem.OnPropertyChanged(RadPropertyChangedEventArgs)

ProcessMnemonic(char)

This method is not relevant for this class.

Declaration

cs-api-definition
public override bool ProcessMnemonic(char charCode)

Parameters

charCode

char

The mnemonic character code.

Returns

bool

True if the mnemonic was processed; otherwise, false.

Overrides RadItem.ProcessMnemonic(char)

ShouldSerializeProperty(PropertyDescriptor)

Determines whether the specified property should be serialized, with special handling for the SvgImageXml property.

Declaration

cs-api-definition
public override bool? ShouldSerializeProperty(PropertyDescriptor property)

Parameters

property

PropertyDescriptor

The PropertyDescriptor representing the property to check for serialization.

Returns

bool?

True if the property should be serialized, false if it should not be serialized, or null for default behavior.

Overrides RadButtonItem.ShouldSerializeProperty(PropertyDescriptor)

ShowChildItems()

Calls the ShowPopup method and displays the child items in a popup window.

Declaration

cs-api-definition
public virtual void ShowChildItems()

Events

DropDownClosed

Occurs after the menu item dropdown closes.

Declaration

cs-api-definition
public event RadPopupClosedEventHandler DropDownClosed

Event Value

RadPopupClosedEventHandler

DropDownClosing

Occurs before the popup is closed.

Declaration

cs-api-definition
public event RadPopupClosingEventHandler DropDownClosing

Event Value

RadPopupClosingEventHandler

DropDownCreating

Occurs before the popup is creating.

Declaration

cs-api-definition
public event RadMenuItemDropDownCreatingEventHandler DropDownCreating

Event Value

RadMenuItemDropDownCreatingEventHandler

DropDownOpened

Occurs after the menu item dropdown opens.

Declaration

cs-api-definition
public event EventHandler DropDownOpened

Event Value

EventHandler

DropDownOpening

Occurs before the menu item dropdown opens.

Declaration

cs-api-definition
public event CancelEventHandler DropDownOpening

Event Value

CancelEventHandler