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

GetContentShortTextFont() public method

Gets the font for the short text.
public GetContentShortTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
return System.Drawing.Font
        public override Font GetContentShortTextFont(PaletteState state)
        {
            if (_apply)
            {
                Font ret = _primary.GetContentShortTextFont(_override ? _state : state);

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

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