Searches for the specified color in the palette and returns a zero-based index of the found entry.
Namespace:
C1.Silverlight.ExtendedAssembly: C1.Silverlight.Extended (in C1.Silverlight.Extended.dll)
Syntax
C# |
---|
public int IndexOf( Color color ) |
Visual Basic |
---|
Public Function IndexOf ( _ color As Color _ ) As Integer |
Parameters
- color
- Type: System.Windows.Media..::..Color