NOTE: Для »» DropDown
и Gallery
аналогично!
<comboBox
id="myComboBox"
label="MyComboBox:"
getItemCount="CallbackCBGetItemCount"
imageMso="PictureEffectsGlowGallery"
onChange="MyComboBoxCallbackOnChange"
sizeString= "WWWWWWWWWWWWW">
</comboBox>
Sub CallbackCBGetItemCount(control As IRibbonControl, ByRef count)
'Callback кол-во Items
Select Case control.ID
Case "myComboBox"
count = 4
End Select
End Sub