14 references to CommandProperty
PresentationFramework (6)
System\Windows\Controls\Button.cs (1)
29
if (ButtonBase.
CommandProperty
!= null)
System\Windows\Controls\MenuItem.cs (1)
377
ButtonBase.
CommandProperty
.AddOwner(
System\Windows\Controls\Primitives\ButtonBase.cs (2)
268
return (ICommand) GetValue(
CommandProperty
);
272
SetValue(
CommandProperty
, value);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
1827
DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.
CommandProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1688
return System.Windows.Controls.Primitives.ButtonBase.
CommandProperty
;
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
48
CommandProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
48
CommandProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1680
new PropertyAndTransferMode () { Property = ButtonBase.
CommandProperty
, Mode = TransferMode.AlwaysTransfer },
2146
TransferProperty(original, clone, RibbonSplitButton.CommandProperty, ButtonBase.
CommandProperty
, TransferMode.AlwaysTransfer);
2177
TransferProperty(original, clone, RibbonMenuItem.CommandProperty, ButtonBase.
CommandProperty
, TransferMode.AlwaysTransfer);
2215
TransferProperty(original, clone, RibbonMenuItem.CommandProperty, ButtonBase.
CommandProperty
, TransferMode.AlwaysTransfer);
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
48
CommandProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
49
CommandProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged));