2 instantiations of Menu
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6796bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Menu(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1409case KnownElements.Menu: o = new System.Windows.Controls.Menu(); break;
23 references to Menu
PresentationFramework (23)
src\Framework\System\Windows\Automation\Peers\MenuAutomationPeer.cs (1)
23public MenuAutomationPeer(Menu owner): base(owner)
src\Framework\System\Windows\Controls\Menu.cs (12)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(typeof(Menu))); 60_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Menu)); 62ItemsPanelProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(GetDefaultPanel())); 63IsTabStopProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(false)); 65KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 66KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 68EventManager.RegisterClassHandler(typeof(Menu), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed)); 97typeof(Menu), 116Menu menu = d as Menu; 179return BooleanBoxes.Box(((Menu)d).IsMainMenu);
src\Framework\System\Windows\Controls\MenuItem.cs (3)
776if (LogicalParent is Menu) 787if (LogicalParent is Menu) 2428if (count == 1 && !(parent is Menu))
src\Framework\System\Windows\Controls\ToolBar.cs (1)
502else if (feType == typeof(Menu))
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
493case 401: t = () => typeof(Menu); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5116Type type = typeof(System.Windows.Controls.Menu); 5118this.GetXamlType(typeof(System.Windows.Controls.Menu)), // DeclaringType 5124bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Menu)target).Items; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6794typeof(System.Windows.Controls.Menu),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5945case KnownElements.Menu: t = typeof(System.Windows.Controls.Menu); break;