14 references to CommandProperty
PresentationFramework (6)
System\Windows\Controls\Button.cs (1)
38
if (ButtonBase.
CommandProperty
!= null)
System\Windows\Controls\MenuItem.cs (1)
387
ButtonBase.
CommandProperty
.AddOwner(
System\Windows\Controls\Primitives\ButtonBase.cs (2)
279
return (ICommand) GetValue(
CommandProperty
);
283
SetValue(
CommandProperty
, value);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
1821
DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.
CommandProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1694
return System.Windows.Controls.Primitives.ButtonBase.
CommandProperty
;
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
51
CommandProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
50
CommandProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1681
new PropertyAndTransferMode () { Property = ButtonBase.
CommandProperty
, Mode = TransferMode.AlwaysTransfer },
2147
TransferProperty(original, clone, RibbonSplitButton.CommandProperty, ButtonBase.
CommandProperty
, TransferMode.AlwaysTransfer);
2178
TransferProperty(original, clone, RibbonMenuItem.CommandProperty, ButtonBase.
CommandProperty
, TransferMode.AlwaysTransfer);
2216
TransferProperty(original, clone, RibbonMenuItem.CommandProperty, ButtonBase.
CommandProperty
, TransferMode.AlwaysTransfer);
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
50
CommandProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
51
CommandProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));