I'm writing a powerpoint add-in and would like to add a slider control (like the one you modify the volume of music player) to my customized ribbon. But it seems that the controls could be added to ribbon are really limited, and slider control is not one of them. Do you have any idea?
---
I tried to define a RibbonSlider class:
public class RibbonSlider:Slider,RibbonControl {
... // Some members required by RibbonControl interface
}
And use `groupTools.Items.Add(new RibbonSlider)` to add this control to a Ribbon Group. But VS gave me this error message "Unable to cast object of type 'Curtain.RibbonSlider' to type 'Microsoft.Office.Tools.Ribbon.RibbonControlImpl'."