ComponentFactory.Krypton.Toolkit.PaletteRedirectRibbonBack.GetRibbonBackColorStyle C# (CSharp) Method

GetRibbonBackColorStyle() public method

Gets the background drawing style for the ribbon item.
public GetRibbonBackColorStyle ( PaletteRibbonBackStyle style, PaletteState state ) : PaletteRibbonColorStyle
style PaletteRibbonBackStyle Style of the ribbon back style requested.
state PaletteState Palette value should be applicable to this state.
return PaletteRibbonColorStyle
        public override PaletteRibbonColorStyle GetRibbonBackColorStyle(PaletteRibbonBackStyle style, PaletteState state)
        {
            IPaletteRibbonBack inherit = GetBackInherit(state);

            if (inherit != null)
                return inherit.GetRibbonBackColorStyle(state);
            else
                return Target.GetRibbonBackColorStyle(style, state);
        }