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

GetContentShortTextImageAlign() public method

Gets the image alignment for the short text.
public GetContentShortTextImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign
        public override PaletteRectangleAlign GetContentShortTextImageAlign(PaletteState state)
        {
            if (_apply)
            {
                PaletteRectangleAlign ret = _primary.GetContentShortTextImageAlign(_override ? _state : state);

                if (ret == PaletteRectangleAlign.Inherit)
                    ret = _backup.GetContentShortTextImageAlign(state);

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