Siddharth Rout
Posts: 18
Joined: 2020-03-26
|
|
Andrei Smolin
Add-in Express team
Posts: 18828
Joined: 2006-05-11
|
Hello Siddharth,
The answer is both Yes and No.
No, you can't create a color-picker control as that control type is missing in the list of Ribbon controls available in Microsoft Office; see [URL=https://learn.microsoft.com/en-us/openspecs/office_standards/ms-customui/31f152d6-2a5d-4b50-a867-9dbc6d01aa43][MS-CUSTOMUI]: Custom UI XML Markup Specification[/URL].
Yes, you can reuse a built-in Ribbon controls even if you can't create such control types yourself. Say, a color picker is a variant of a gallery; you can create a custom gallery but you can't create a custom color picker. Still, you can re-use a built-in color picker: create a custom gallery and set its idMso property to the ID of the built-in color picker, e.g. to "CellFillColorPicker" shown in your screenshot. I've got this id using the infromation we provide in section Referring to built-in Ribbon controls; see the PDF file in the folder {Add-in Express}\Docs on your development PC.
Regards from Poland (GMT+1),
Andrei Smolin
Add-in Express Team Leader |
|
Siddharth Rout
Posts: 18
Joined: 2020-03-26
|
Thanks Andrei. Let me study the docs. Will get back if I have any questions.Regards
Siddharth Rout
Founder
XPIZON
[Skype]: XPIZON, [Email]: srout@xpizon.com, [Website]: www.SiddharthRout.Com; www.xpizon.com
|
|