ComponentFactory.Krypton.Toolkit.PaletteRedirectCommon.GetContentShortTextColor2 C# (CSharp) Method

GetContentShortTextColor2() public method

Gets the second back color for the short text.
public GetContentShortTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetContentShortTextColor2(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteContent.GetContentShortTextColor2(state);
            else
                return base.GetContentShortTextColor2(style, state);
        }