4 references to s_contextMenuStripProperty
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (4)
1505
get => Properties.GetValueOrDefault<ContextMenuStrip>(
s_contextMenuStripProperty
);
1508
ContextMenuStrip? oldValue = Properties.AddOrRemoveValue(
s_contextMenuStripProperty
, value);
5001
if (Properties?.TryGetValue(
s_contextMenuStripProperty
, out ContextMenuStrip? menu) == true)
11935
if (!Properties.TryGetValue(
s_contextMenuStripProperty
, out ContextMenuStrip? contextMenuStrip))