Searches for the index of the item that has the given property descriptor.

Namespace:  C1.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public virtual int Find(
	PropertyDescriptor prop,
	Object key
)
Visual Basic (Declaration)
Public Overridable Function Find ( _
	prop As PropertyDescriptor, _
	key As Object _
) As Integer

Parameters

prop
Type: System.ComponentModel..::..PropertyDescriptor
The PropertyDescriptor to search on.
key
Type: System..::..Object
The value of the property parameter to search for.

Return Value

The index of the item that has the given PropertyDescriptor.

See Also