ToolStripItem::MergeAction Property

 

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:
property MergeAction MergeAction {
	MergeAction get();
	void set(MergeAction value);
}

Property Value

Type: System.Windows.Forms::MergeAction

One of the MergeAction values. The default is MatchOnly.

Exception Condition
InvalidEnumArgumentException

The value assigned is not one of the MergeAction values.

.NET Framework
Available since 2.0
Return to top
Show: