1 instantiation of ContextMenuStrip
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ContextMenuStrip.cs (1)
59ContextMenuStrip contextMenuStrip = new ContextMenuStrip();
64 references to ContextMenuStrip
System.Windows.Forms (64)
winforms\Managed\System\WinForms\ContextMenuStrip.cs (2)
55internal ContextMenuStrip Clone() { 59ContextMenuStrip contextMenuStrip = new ContextMenuStrip();
winforms\Managed\System\WinForms\Control.cs (6)
1755public virtual ContextMenuStrip ContextMenuStrip { 1757return (ContextMenuStrip)Properties.GetObject(PropContextMenuStrip); 1760ContextMenuStrip oldValue = Properties.GetObject(PropContextMenuStrip) as ContextMenuStrip; 12854ContextMenuStrip contextMenuStrip = (contextMenu != null) ? null /*save ourselves a property fetch*/ 12855: Properties.GetObject(PropContextMenuStrip) as ContextMenuStrip;
winforms\Managed\System\WinForms\DataGridViewBand.cs (7)
74public virtual ContextMenuStrip ContextMenuStrip 90internal ContextMenuStrip ContextMenuStripInternal 94return (ContextMenuStrip)this.Properties.GetObject(PropContextMenuStrip); 98ContextMenuStrip oldValue = (ContextMenuStrip)this.Properties.GetObject(PropContextMenuStrip); 948ContextMenuStrip contextMenuStrip = (ContextMenuStrip)this.ContextMenuStripInternal;
winforms\Managed\System\WinForms\DataGridViewCell.cs (11)
152public virtual ContextMenuStrip ContextMenuStrip 164private ContextMenuStrip ContextMenuStripInternal 168return (ContextMenuStrip)this.Properties.GetObject(PropCellContextMenuStrip); 172ContextMenuStrip oldValue = (ContextMenuStrip)this.Properties.GetObject(PropCellContextMenuStrip); 1386ContextMenuStrip contextMenuStrip = (ContextMenuStrip)this.ContextMenuStripInternal; 1668internal ContextMenuStrip GetContextMenuStrip(int rowIndex) 1670ContextMenuStrip contextMenuStrip = this.ContextMenuStripInternal; 2013public virtual ContextMenuStrip GetInheritedContextMenuStrip(int rowIndex) 2028ContextMenuStrip contextMenuStrip = GetContextMenuStrip(rowIndex);
winforms\Managed\System\WinForms\DataGridViewCellContextMenuStripNeededEventArgs.cs (3)
15private ContextMenuStrip contextMenuStrip; 25ContextMenuStrip contextMenuStrip) : base(columnIndex, rowIndex) 31public ContextMenuStrip ContextMenuStrip
winforms\Managed\System\WinForms\DataGridViewColumn.cs (1)
242public override ContextMenuStrip ContextMenuStrip
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (2)
288public override ContextMenuStrip GetInheritedContextMenuStrip(int rowIndex) 295ContextMenuStrip contextMenuStrip = GetContextMenuStrip(-1);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (2)
307public override ContextMenuStrip GetInheritedContextMenuStrip(int rowIndex) 309ContextMenuStrip contextMenuStrip = GetContextMenuStrip(rowIndex);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (7)
11935internal ContextMenuStrip OnCellContextMenuStripNeeded(int columnIndex, int rowIndex, ContextMenuStrip contextMenuStrip) 18022internal ContextMenuStrip OnRowContextMenuStripNeeded(int rowIndex, ContextMenuStrip contextMenuStrip) 29850ContextMenuStrip contextMenuStrip; 29862contextMenuStrip = (ContextMenuStrip) this.ContextMenuStrip; 29894contextMenuStrip = (ContextMenuStrip) this.ContextMenuStrip;
winforms\Managed\System\WinForms\DataGridViewRow.cs (3)
93public override ContextMenuStrip ContextMenuStrip 1304public ContextMenuStrip GetContextMenuStrip(int rowIndex) 1306ContextMenuStrip contextMenuStrip = this.ContextMenuStripInternal;
winforms\Managed\System\WinForms\DataGridViewRowContextMenuStripNeededEventArgs.cs (3)
16private ContextMenuStrip contextMenuStrip; 29internal DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex, ContextMenuStrip contextMenuStrip) : this(rowIndex) 44public ContextMenuStrip ContextMenuStrip
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (2)
419public override ContextMenuStrip GetInheritedContextMenuStrip(int rowIndex) 426ContextMenuStrip contextMenuStrip = GetContextMenuStrip(rowIndex);
winforms\Managed\System\WinForms\NotifyIcon.cs (2)
57private ContextMenuStrip contextMenuStrip = null; 244public ContextMenuStrip ContextMenuStrip {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
261public override ContextMenuStrip ContextMenuStrip {
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
234public new ContextMenuStrip ContextMenuStrip {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
292public new ContextMenuStrip ContextMenuStrip {
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
1612ContextMenuStrip toplevelContextMenu = dropDown.GetFirstDropDown() as ContextMenuStrip;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
964SupportsRightClick = (dropDown.GetFirstDropDown() is ContextMenuStrip);
winforms\Managed\System\WinForms\TreeNode.cs (2)
75private ContextMenuStrip contextMenuStrip = null; 417public virtual ContextMenuStrip ContextMenuStrip {
winforms\Managed\System\WinForms\TreeView.cs (3)
3081ContextMenuStrip menu = treeNode.ContextMenuStrip; 3124ContextMenuStrip strip = sender as ContextMenuStrip;
winforms\Managed\System\WinForms\UpDownBase.cs (1)
332public override ContextMenuStrip ContextMenuStrip {
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1614ContextMenuStrip contextMenuStrip = ContextMenuStrip;