BrightIdeasSoftware.ObjectListView.SetSubItemImage C# (CSharp) Method

SetSubItemImage() public method

Set the subitem image natively
public SetSubItemImage ( int rowIndex, int subItemIndex, OLVListSubItem subItem, bool shouldClearImages ) : void
rowIndex int
subItemIndex int
subItem OLVListSubItem
shouldClearImages bool
return void
        public virtual void SetSubItemImage(int rowIndex, int subItemIndex, OLVListSubItem subItem, bool shouldClearImages)
        {
            int imageIndex = this.GetActualImageIndex(subItem.ImageSelector);
            if (shouldClearImages || imageIndex != -1)
                NativeMethods.SetSubItemImage(this, rowIndex, subItemIndex, imageIndex);
        }
ObjectListView