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)
44EventManager.RegisterClassHandler(typeof(ContextMenu), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed));
46DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu)));
47_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ContextMenu));
49IsTabStopProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
50KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
51KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
55FocusVisualStyleProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata((object)null /* default value */));
85ContextMenuService.HorizontalOffsetProperty.AddOwner(typeof(ContextMenu),
109ContextMenuService.VerticalOffsetProperty.AddOwner(typeof(ContextMenu),
134typeof(ContextMenu),
153ContextMenu ctrl = (ContextMenu) d;
178typeof(ContextMenu),
202ContextMenuService.PlacementRectangleProperty.AddOwner(typeof(ContextMenu),
225ContextMenuService.PlacementProperty.AddOwner(typeof(ContextMenu),
249typeof(ContextMenu),
255ContextMenu cm = (ContextMenu)d;
280Popup.CustomPopupPlacementCallbackProperty.AddOwner(typeof(ContextMenu));
299Popup.StaysOpenProperty.AddOwner(typeof(ContextMenu));
318public static readonly RoutedEvent OpenedEvent = PopupControlService.ContextMenuOpenedEvent.AddOwner(typeof(ContextMenu));
347public static readonly RoutedEvent ClosedEvent = PopupControlService.ContextMenuClosedEvent.AddOwner(typeof(ContextMenu));
469MenuItem.InsideContextMenuProperty.AddOwner(typeof(ContextMenu),
562ContextMenu cm = (ContextMenu)arg;
586ContextMenu cm = (ContextMenu)arg;