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

GetContentLongTextColorStyle() public method

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

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

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