CollectionView.CurrentPosition Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ordinal position of the CurrentItem within the (optionally sorted and filtered) view.
public:
virtual property int CurrentPosition { int get(); };
public virtual int CurrentPosition { get; }
member this.CurrentPosition : int
Public Overridable ReadOnly Property CurrentPosition As Integer
Property Value
The ordinal position of the CurrentItem within the (optionally sorted and filtered) view.
Implements
Notes to Inheritors
Only classes that pass currency handling calls to another internal CollectionView object should override this property; all other derived classes should use the SetCurrent(Object, Int32) method to update the current values stored in the base class.
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk