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