Undoes a merging of two System.Windows.Forms.ToolStrip objects, returning both System.Windows.Forms.ToolStrip controls to their state before the merge and nullifying all previous merge operations.
- targetToolStrip
The name of the System.Windows.Forms.ToolStripItem for which to undo a merge operation.
- sourceToolStrip
The System.Windows.Forms.ToolStrip that was merged with the targetToolStrip.
![]()
true if the undoing of the merge is successful; otherwise, false.
The ToolStrip.AllowMerge property must be set to true for both System.Windows.Forms.ToolStrip objects, or this method returns false.