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

GetContentShortTextV() public method

Gets the vertical relative alignment of the short text.
public GetContentShortTextV ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign
        public override PaletteRelativeAlign GetContentShortTextV(PaletteState state)
        {
            if (_apply)
            {
                PaletteRelativeAlign ret = _primary.GetContentShortTextV(_override ? _state : state);

                if (ret == PaletteRelativeAlign.Inherit)
                    ret = _backup.GetContentShortTextV(state);

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