8 references to ContextMenuProperty
PresentationFramework (4)
System\Windows\Controls\ContextMenuService.cs (2)
40
ContextMenu cm = (ContextMenu)element.GetValue(
ContextMenuProperty
);
64
element.SetValue(
ContextMenuProperty
, value);
System\Windows\FrameworkContentElement.cs (1)
1845
ContextMenuService.
ContextMenuProperty
.AddOwner(typeof(FrameworkContentElement),
System\Windows\FrameworkElement.cs (1)
5902
ContextMenuService.
ContextMenuProperty
.AddOwner(
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1427
DependencyProperty dp = ContextMenuService.
ContextMenuProperty
;
1449
PropertyHelper.TransferProperty(d, ContextMenuService.
ContextMenuProperty
);
1483
PropertyHelper.TransferProperty(d, ContextMenuService.
ContextMenuProperty
);
1511
PropertyHelper.TransferProperty(d, ContextMenuService.
ContextMenuProperty
);