/// <summary>
 /// Gets the font for the ribbon context text.
 /// </summary>
 /// <param name="state">Palette value should be applicable to this state.</param>
 /// <returns>Font value.</returns>
 public Font GetRibbonContextTextFont(PaletteState state)
 {
     if (ContextTextFont != null)
     {
         return(ContextTextFont);
     }
     else
     {
         return(_inherit.GetRibbonContextTextFont(state));
     }
 }