ComponentFactory.Krypton.Toolkit.PaletteContentInheritOverride.GetContentImageV C# (CSharp) 메소드

GetContentImageV() 공개 메소드

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

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

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