Replace the XML markup in Contact Ribbonxml with the markup in Listing

Listing 14.17. Changing the ContactRibbon XML file

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/ customui"

onLoad="ContactRibbonOnLoad"> <ribbon> <tabs>

<tab id="ContactRibbon.Tab" label="ContactRibbon Tab"> <group id="ContactRibbon.Group" label="ContactRibbon Group">

<toggleButton id="ContactRibbon.toggleButton1" label="ContactRibbon Toggle Button 1" screentip="ToggleButton1 Screentip" onAction="ContactRibbonOnToggleButton1" />

<toggleButton id="ContactRibbon.toggleButton2" label="ContactRibbon Toggle Button 2" screentip="ToggleButton2 Screentip" onAction="OnToggleButton" />

</group> </tab> </tabs> </ribbon> </customUI>

0 0

Post a comment