dotnetmonitor.com |
|
||||||||||||
| When thinking about Merging, it is often convenient
to describe the action in terms of a target and source:
Target - this is the ToolStrip you're merging into (e.g. a Main MenuStrip on your form) Source - this is the ToolStrip with items you want to merge into the Target toolstrip. (e.g. a menu from an MDI child from) Merge Action
The merge action should be set on items in the "Source" toolstrip - e.g. your MDI child menu strip.
Append (default) adds the Source item to the end of the Target Items collection Insert
Replace
MatchOnly
Remove
Note the usefulness of MatchOnly - it can be used to build up a menu structure to insert/add/remove into a submenu. The most frequently used MergeActions will be MatchOnly, Append, and Insert. |
||||||||||||
|
||||||||||||