Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement FindVisiblePositions() #46

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Implement FindVisiblePositions() #46

merged 2 commits into from
Jun 7, 2024

Conversation

Redth
Copy link
Owner

@Redth Redth commented Jun 7, 2024

This fixes #41

Now the virtual list view has a method IReadOnlyList<IPositionInfo> FindVisiblePositions() which will return all of the position info for every item visible on the control.

You can use this to find the first visible item index or see if there's a header visible, etc. Sky is the limit.

@Redth Redth merged commit 8dec21b into main Jun 7, 2024
5 checks passed
@Redth Redth deleted the dev/visible-item-indices branch June 7, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing FirstVisibleItemIndex and LastVisibleItemIndex
1 participant