S
Steven
In develop office2007 ribbon, We know gallery can put many item, Example
<gallery columns="2" rows="10" id="gl" itemHeight="40" itemWidth="40"
getItemCount="g_GetItemCount"
getItemLabel="g_GetItemLabel"
getItemImage="g_GetItemImage"
onAction="g_OnAction"
label="MyG" size="normal">
<item id="item1" label="G1" />
<item id="item2" label="G2" />
</gallery>
It has getItemLabel method!
public string g_GetItemLabel(Office.IRibbonControl control, int index)
I wan to know how to write this method get Item label name? Example "G1",
"G2" etc?
Thanks
<gallery columns="2" rows="10" id="gl" itemHeight="40" itemWidth="40"
getItemCount="g_GetItemCount"
getItemLabel="g_GetItemLabel"
getItemImage="g_GetItemImage"
onAction="g_OnAction"
label="MyG" size="normal">
<item id="item1" label="G1" />
<item id="item2" label="G2" />
</gallery>
It has getItemLabel method!
public string g_GetItemLabel(Office.IRibbonControl control, int index)
I wan to know how to write this method get Item label name? Example "G1",
"G2" etc?
Thanks