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

GetContentShortTextColorStyle() public method

Gets the color drawing style for the short text.
public GetContentShortTextColorStyle ( PaletteState state ) : PaletteColorStyle
state PaletteState Palette value should be applicable to this state.
return PaletteColorStyle
        public override PaletteColorStyle GetContentShortTextColorStyle(PaletteState state)
        {
            if (_apply)
            {
                PaletteColorStyle ret = _primary.GetContentShortTextColorStyle(_override ? _state : state);

                if (ret == PaletteColorStyle.Inherit)
                    ret = _backup.GetContentShortTextColorStyle(state);

                return ret;
            }
            else
                return _backup.GetContentShortTextColorStyle(state);
        }