| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property MergeCommandID As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As WebToolBar Dim value As String instance.MergeCommandID = value value = instance.MergeCommandID | |
| C# | |
|---|---|
public virtual string MergeCommandID {get; set;} | |
WebToolBar introduces Merging feature which allows you to Merge ToolBar from your parent page with child page. There are 2 types of Merging, which are ToolBar Merging and ToolCommand Merging. ToolBar Merging is used to combine Parent ToolBar with Child ToolBar from different pages. Hence, it will merge the whole ToolBars.
ToolCommand Merging is slightly different compared to ToolBar Merging. It does not merge the whole ToolBar, but it does merge the ToolCommand instead. Hence, the Child's ToolCommand will be merged to Parent's ToolCommand using the container.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
WebToolBar ClassWebToolBar Members