TableCellCollection.IndexOf Method (TableCell)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the zero-based index of specified collection item.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public int IndexOf(
	TableCell item


Type: System.Windows.Documents.TableCell

A collection item to return the index of.

Return Value

Type: System.Int32

The zero-based index of the specified collection item, or -1 if the specified item is not a member of the collection.

.NET Framework
Available since 3.0
Return to top