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

GetContentDrawFocus() public method

Gets a value indicating if content should be drawn with focus indication.
public GetContentDrawFocus ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool
        public override InheritBool GetContentDrawFocus(PaletteState state)
        {
            if (_apply)
            {
                InheritBool ret = _primary.GetContentDrawFocus(_override ? _state : state);

                if (ret == InheritBool.Inherit)
                    ret = _backup.GetContentDrawFocus(state);

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