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

GetContentLongTextNewFont() public method

Gets the font for the long text by generating a new font instance.
public GetContentLongTextNewFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
return System.Drawing.Font
        public override Font GetContentLongTextNewFont(PaletteState state)
        {
            if (_apply)
            {
                Font ret = _primary.GetContentLongTextNewFont(_override ? _state : state);

                if (ret == null)
                    ret = _backup.GetContentLongTextNewFont(state);

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