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