47 references to MergeAction
System.Windows.Forms (26)
System\Windows\Forms\Controls\ToolStrips\MergeHistoryItem.cs (2)
8
public MergeHistoryItem(
MergeAction
mergeAction)
13
public
MergeAction
MergeAction { get; }
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (4)
1280
[DefaultValue(
MergeAction
.Append)]
1282
public
MergeAction
MergeAction
1284
get => Properties.GetValueOrDefault(s_mergeActionProperty,
MergeAction
.Append);
1288
Properties.AddOrRemoveValue(s_mergeActionProperty, value, defaultValue:
MergeAction
.Append);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (15)
1151
case
MergeAction
.MatchOnly:
1152
case
MergeAction
.Replace:
1153
case
MergeAction
.Remove:
1159
case
MergeAction
.MatchOnly:
1190
case
MergeAction
.Replace:
1191
case
MergeAction
.Remove:
1192
maction = new MergeHistoryItem(
MergeAction
.Insert)
1202
if (source.MergeAction ==
MergeAction
.Replace)
1204
maction = new MergeHistoryItem(
MergeAction
.Remove)
1221
case
MergeAction
.Insert:
1224
maction = new MergeHistoryItem(
MergeAction
.Remove)
1238
case
MergeAction
.Append:
1239
maction = new MergeHistoryItem(
MergeAction
.Remove)
1333
case
MergeAction
.Remove:
1338
case
MergeAction
.Insert:
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
52
item.MergeAction =
MergeAction
.Insert;
System\Windows\Forms\MDI\MdiWindowListStrip.cs (4)
35
MergeAction =
MergeAction
.MatchOnly
85
MergeAction =
MergeAction
.Append,
116
MergeAction =
MergeAction
.Append,
145
moreWindowsMenuItem.MergeAction =
MergeAction
.Append;
System.Windows.Forms.Tests (21)
System\Windows\Forms\ToolStripButtonTests.cs (6)
69
Assert.Equal(
MergeAction
.Append, item.MergeAction);
150
Assert.Equal(
MergeAction
.Append, item.MergeAction);
237
Assert.Equal(
MergeAction
.Append, item.MergeAction);
327
Assert.Equal(
MergeAction
.Append, item.MergeAction);
415
Assert.Equal(
MergeAction
.Append, item.MergeAction);
513
Assert.Equal(
MergeAction
.Append, item.MergeAction);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
98
Assert.Equal(
MergeAction
.Append, item.MergeAction);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
69
Assert.Equal(
MergeAction
.Append, item.MergeAction);
158
Assert.Equal(
MergeAction
.Append, item.MergeAction);
257
Assert.Equal(
MergeAction
.Append, item.MergeAction);
365
Assert.Equal(
MergeAction
.Append, item.MergeAction);
System\Windows\Forms\ToolStripItemTests.cs (7)
68
Assert.Equal(
MergeAction
.Append, item.MergeAction);
153
Assert.Equal(
MergeAction
.Append, item.MergeAction);
248
Assert.Equal(
MergeAction
.Append, item.MergeAction);
6127
[EnumData<
MergeAction
>]
6128
public void ToolStripItem_MergeAction_Set_GetReturnsExpected(
MergeAction
value)
6142
[InvalidEnumData<
MergeAction
>]
6143
public void ToolStripItem_MergeAction_SetInvalid_ThrowsInvalidEnumArgumentException(
MergeAction
value)
System\Windows\Forms\ToolStripMenuItemTests.cs (2)
76
Assert.Equal(
MergeAction
.Append, item.MergeAction);
293
MergeAction =
MergeAction
.Append,
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
66
Assert.Equal(
MergeAction
.Append, item.MergeAction);