dynamicMenu

A popup menu whose content is provided as run-time using a callback.
This is basically a 'menu' control whose dynamic property has been set to "true"
The getContent method must return XML similar to the below:


<menu xmlms = "http://schemas.microsoft.com/office/2006/01/customui" > 
<button id="" onAction="" />
<dynamicMenu id="" label="" getContext="" />
</menu>

Attributes (properties)

descriptiondisplayed when the size is 'large'
enabled"true" | "false"
id 
idMso 
idQ 
image 
imageMso 
insertAfterMso 
insertAfterQ 
insertBeforeMso 
insertBeforeQ 
invalidateContentOnDrop 
keytip 
label 
screentip 
showImage"true" | "false"
showLabel"true" | "false"
size"normal" | "large"
supertip 
tag 
visible"true" | "false"

Callbacks (run-time)

getContent 
getDescription 
getEnabled 
getImage 
getImageMso 
getKeytip 
getLabel 
getShowImage 
getShowLabel 
getSize 
getSupertip 
getVisible 

Public Sub DynamicMenu_OnGetContent( _ 
   ByRef control As Office.IRibbonControl, _
   ByRef XMLContent)

End Sub

' C# Equivalent
string DynamicMenu-OnGetContent(
   Office.IRibbonControl control)
{
}


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext