Example #1
0
 public int GetRowOfItem(ITreeGridItem item)
 {
     if (collection == null)
     {
         return(-1);
     }
     return(collection.IndexOf(item));
 }
Example #2
0
 public int GetRowOfItem(object item)
 {
     if (collection == null)
     {
         return(-1);
     }
     return(collection.IndexOf(item));
 }
Example #3
0
 public int GetRowOfItem(object item)
 {
     return(collection == null ? -1 : collection.IndexOf(item));
 }
Example #4
0
 public int GetRowOfItem(object item)
 {
     return(collection != null?collection.IndexOf(item) : -1);
 }
Example #5
0
		public int GetRowOfItem(ITreeItem item)
		{
			return collection != null ? collection.IndexOf(item) : -1;
		}