2 overrides of ContextMenuStrip
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
261public override ContextMenuStrip ContextMenuStrip {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
332public override ContextMenuStrip ContextMenuStrip {
6 writes to ContextMenuStrip
System.Windows.Forms (6)
winforms\Managed\System\WinForms\Control.cs (1)
2227ContextMenuStrip = null;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
266base.ContextMenuStrip = value;
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
236set { base.ContextMenuStrip = value; }
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
294set { base.ContextMenuStrip = value; }
winforms\Managed\System\WinForms\UpDownBase.cs (2)
337base.ContextMenuStrip = value; 338this.upDownEdit.ContextMenuStrip = value;
22 references to ContextMenuStrip
System.Windows.Forms (22)
winforms\Managed\System\WinForms\ComboBox.cs (2)
1894if (this.ContextMenu != null || this.ContextMenuStrip != null) 1929if (this.ContextMenu != null || this.ContextMenuStrip != null) {
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
2054return this.DataGridView.ContextMenuStrip;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
303return this.DataGridView.ContextMenuStrip;
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
317return this.DataGridView.ContextMenuStrip;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
29862contextMenuStrip = (ContextMenuStrip) this.ContextMenuStrip; 29894contextMenuStrip = (ContextMenuStrip) this.ContextMenuStrip;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
434return this.DataGridView.ContextMenuStrip;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
263return base.ContextMenuStrip;
winforms\Managed\System\WinForms\TextBoxBase.cs (3)
2247if (ContextMenu != null || ContextMenuStrip != null) { 2270else if (ContextMenuStrip != null) { 2271ContextMenuStrip.ShowInternal(this, client, keyboardActivated);
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
235get { return base.ContextMenuStrip; }
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
293get { return base.ContextMenuStrip; }
winforms\Managed\System\WinForms\ToolStripManager.cs (5)
1568if (activeControlInChain.ContextMenuStrip != null) { 1569if (activeControlInChain.ContextMenuStrip.Shortcuts.ContainsKey(shortcut)) { 1570ToolStripMenuItem item = activeControlInChain.ContextMenuStrip.Shortcuts[shortcut] as ToolStripMenuItem; 1601else if (activeControl != null && toolStrip == activeControl.ContextMenuStrip) { 1620if (toplevelContextMenu != activeControl.ContextMenuStrip) {
winforms\Managed\System\WinForms\UpDownBase.cs (2)
334return base.ContextMenuStrip; 1330if (ContextMenu == null && ContextMenuStrip != null) {
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1614ContextMenuStrip contextMenuStrip = ContextMenuStrip;