BrightIdeasSoftware.ObjectListView.SetupBaseImageList C# (CSharp) Method

SetupBaseImageList() private method

Update our externally visible image list so it holds the same images as our shadow list, but sized correctly
private SetupBaseImageList ( ) : void
return void
        private void SetupBaseImageList()
        {
            // If a row height hasn't been set, or an image list has been give which is the required size, just assign it
            if (rowHeight == -1 ||
                this.View != View.Details ||
                (this.shadowedImageList != null && this.shadowedImageList.ImageSize.Height == rowHeight))
                this.BaseSmallImageList = this.shadowedImageList;
            else {
                int width = (this.shadowedImageList == null ? 16 : this.shadowedImageList.ImageSize.Width);
                this.BaseSmallImageList = this.MakeResizedImageList(width, rowHeight, shadowedImageList);
            }
        }
ObjectListView