Sie sind hier: Backstage - DropDown - Control
Backstage - DropDown - Control
Achtung: Alle hier vorgestellten Eigenschaften funktionieren ausschließlich in Office 2010.
Das dropDown Element unterscheidet sich etwas von dem Ribbon Standard dropDown Control.
Die dazugehörige XML Ribbon Datei:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> <ribbon startFromScratch="false"> <!-- Ribbon XML --> </ribbon> <backstage> <tab id="btab1" label="Label 1. Tab"> <firstColumn> <group id="myGroup" style="normal" label="Form Button:"> <bottomItems> <dropDown id="ddc1" label="Form DropDown 1"> <item id="itmDD1" label="1. Item"/> <item id="itmDD2" label="2. Item"/> <item id="itmDD3" label="3. Item"/> </dropDown> <dropDown id="ddc2" label="Form DropDown 2" expand="horizontal"> <item id="itmDD1a" label="1. Item"/> <item id="itmDD2b" label="2. Item"/> <item id="itmDD3c" label="3. Item"/> </dropDown> </bottomItems> </group> </firstColumn> </tab> <button id="btnFast1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/> </backstage> </customUI>
DropDown:
Attribute: alignLabel, enabled, expand, id, idMso, idQ, keytip, label,
layout, screentip, sizeString, supertip, tag, visible
Callbacks: getEnabled, getItemCount, getItemID, getItemLabel, getKeytip,
getLabel, getScreentip, getSelectedItemIndex, getSupertip, getVisible, onAction
item:
Callbacks: getLabel
Sie finden dieses Beispiel auch in der Beispieldatenbank "Backstage View".