public virtual OLVListItem GetNthItemInDisplayOrder(int n) { if (!this.ShowGroups) return this.GetItem(n); foreach (ListViewGroup group in this.Groups) { if (n < group.Items.Count) return (OLVListItem)group.Items[n]; n -= group.Items.Count; } return null; }