VisualCollection::IndexOf Method (Visual^)
.NET Framework (current version)
Returns the zero-based index of the Visual.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- visual
-
Type:
System.Windows.Media::Visual^
The Visual to locate in the VisualCollection.
If the Visual is not in the VisualCollection, -1 is returned. If null is passed to the method, the index of the first entry that has null is returned. If there is no null entry, -1 is returned.
.NET Framework
Available since 3.0
Available since 3.0
Show: