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