ComponentFactory.Krypton.Toolkit.RenderStandard.GetContentImageRectangle C# (CSharp) Method

GetContentImageRectangle() public method

Request the calculated position of the content image.
public GetContentImageRectangle ( IDisposable memento ) : Rectangle
memento IDisposable Cached values from layout call.
return Rectangle
        public override Rectangle GetContentImageRectangle(IDisposable memento)
        {
            if (memento != null)
            {
                StandardContentMemento standard = (StandardContentMemento)memento;
                return standard.ImageRect;
            }
            else
                return Rectangle.Empty;
        }
RenderStandard