5 types derived from ContextMenu
Microsoft.VisualStudio.LanguageServices (2)
PresentationFramework (2)
System.Windows.Controls.Ribbon (1)
6 instantiations of ContextMenu
Microsoft.VisualStudio.LanguageServices (1)
PresentationFramework (5)
94 references to ContextMenu
Microsoft.VisualStudio.LanguageServices (1)
PresentationFramework (93)
System\Windows\Controls\ContextMenu.cs (29)
36EventManager.RegisterClassHandler(typeof(ContextMenu), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed));
38DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu)));
39_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ContextMenu));
41IsTabStopProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
42KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
43KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
44KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
47FocusVisualStyleProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata((object)null /* default value */));
77ContextMenuService.HorizontalOffsetProperty.AddOwner(typeof(ContextMenu),
101ContextMenuService.VerticalOffsetProperty.AddOwner(typeof(ContextMenu),
126typeof(ContextMenu),
145ContextMenu ctrl = (ContextMenu) d;
170typeof(ContextMenu),
194ContextMenuService.PlacementRectangleProperty.AddOwner(typeof(ContextMenu),
217ContextMenuService.PlacementProperty.AddOwner(typeof(ContextMenu),
241typeof(ContextMenu),
247ContextMenu cm = (ContextMenu)d;
272Popup.CustomPopupPlacementCallbackProperty.AddOwner(typeof(ContextMenu));
291Popup.StaysOpenProperty.AddOwner(typeof(ContextMenu));
310public static readonly RoutedEvent OpenedEvent = PopupControlService.ContextMenuOpenedEvent.AddOwner(typeof(ContextMenu));
339public static readonly RoutedEvent ClosedEvent = PopupControlService.ContextMenuClosedEvent.AddOwner(typeof(ContextMenu));
461MenuItem.InsideContextMenuProperty.AddOwner(typeof(ContextMenu),
554ContextMenu cm = (ContextMenu)arg;
578ContextMenu cm = (ContextMenu)arg;