ToolStripItem.MergeAction Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets how child menus are merged with parent menus.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public MergeAction MergeAction { get; set; }

Property Value

Type: System.Windows.Forms.MergeAction

One of the MergeAction values. The default is MatchOnly.

Exception Condition

The value assigned is not one of the MergeAction values.

.NET Framework
Available since 2.0
Return to top