SetCurrent Method

CollectionView.SetCurrent Method

 

Sets the current item of the CollectionView.

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

NameDescription
System_CAPS_protmethodSetCurrent(Object, Int32)

Sets the specified item and index as the values of the CurrentItem and CurrentPosition properties.

System_CAPS_protmethodSetCurrent(Object, Int32, Int32)

Sets the specified item and index as the values of the CurrentItem and CurrentPosition properties. This method can be called from a constructor of a derived class.

Return to top
Show:
© 2016 Microsoft