10 references to CommandProperty
PresentationFramework (3)
System\Windows\Controls\MenuItem.cs (3)
390get { return (ICommand) GetValue(CommandProperty); } 391set { SetValue(CommandProperty, value); } 1321if (!menuItem.HasNonDefaultValue(CommandProperty))
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (2)
381qatPlacementItem.SetBinding(RibbonMenuItem.CommandProperty, commandBinding); 457minimizeTheRibbonItem.SetBinding(RibbonMenuItem.CommandProperty, isMinimizedBinding);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1765new PropertyAndTransferMode () { Property = RibbonMenuItem.CommandProperty, Mode = TransferMode.AlwaysTransfer }, 2173TransferProperty(original, clone, RibbonMenuItem.CommandProperty, ButtonBase.CommandProperty, TransferMode.AlwaysTransfer); 2191TransferProperty(original, clone, RibbonMenuItem.CommandProperty, RibbonSplitButton.CommandProperty, TransferMode.AlwaysTransfer); 2211TransferProperty(original, clone, RibbonMenuItem.CommandProperty, ButtonBase.CommandProperty, TransferMode.AlwaysTransfer);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
59CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));