Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / Extensions Class / C1IndexOf Method
The items control.
The value.

In This Topic
    C1IndexOf Method
    In This Topic
    --- SL2 BUG --- ItemsControl doesn't use Equals for comparison (ItemCollection.IndexOf)
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Shared Function C1IndexOf( _
       ByVal itemsControl As ItemsControl, _
       ByVal value As Object _
    ) As Integer
    [Extension()]
    public static int C1IndexOf( 
       ItemsControl itemsControl,
       object value
    )

    Parameters

    itemsControl
    The items control.
    value
    The value.
    See Also