BrightIdeasSoftware.ObjectListView.EditSubItem C# (CSharp) Method

EditSubItem() public method

Begin an edit operation on the given cell.
This performs various sanity checks and passes off the real work to StartCellEdit().
public EditSubItem ( OLVListItem item, int subItemIndex ) : void
item OLVListItem The row to be edited
subItemIndex int The index of the cell to be edited
return void
        public virtual void EditSubItem(OLVListItem item, int subItemIndex)
        {
            if (item == null)
                return;

            if (subItemIndex < 0 && subItemIndex >= item.SubItems.Count)
                return;

            if (this.CellEditActivation == CellEditActivateMode.None)
                return;

            if (!this.GetColumn(subItemIndex).IsEditable)
                return;

            this.StartCellEdit(item, subItemIndex);
        }
ObjectListView