RibbonWinForms
RibbonWinForms copied to clipboard
Inherit from RibbonLabel and set background and font?
I need to inherit from RibbonLabel and override methods so that I can draw text in bold and the background in a different color.
However, I couldn't find any Font property to use.
Where and how can I access the Font and BackColor properties for the inherited control?
This is not done yet. As a temporary workaround (alternative solution), you can use an ordinary winform lable control, set the font. then add it into the ribbon by using "Host" control".
The following is a sample project that demonstrated the idea: WindowsFormsApp1.zip