public int GetRowOfItem(ITreeGridItem item) { if (collection == null) { return(-1); } return(collection.IndexOf(item)); }
public int GetRowOfItem(object item) { if (collection == null) { return(-1); } return(collection.IndexOf(item)); }
public int GetRowOfItem(object item) { return(collection == null ? -1 : collection.IndexOf(item)); }
public int GetRowOfItem(object item) { return(collection != null?collection.IndexOf(item) : -1); }
public int GetRowOfItem(ITreeItem item) { return collection != null ? collection.IndexOf(item) : -1; }