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