CollectionView.SetCurrent Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: