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

GetContentShortTextColorStyle() public method

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