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

fix: ItemContainerGenerator obsolete member after #9677 #10021

Conversation

workgroupengineering
Copy link
Contributor

What does the pull request do?

Cortex the use of outdated members:

Item container lookup was moved to ItemsControl as in UWP (old methods are left on ItemContainerGenerator marked with [Obsolete])

* `ItemsControl.ContainerFromIndex(object item)`

* `ItemsControl.ContainerFromItem(object item)`

* `ItemsControl.IndexFromContainer(Control container)`

* `ItemsControl.ItemFromContainer(Control container)`

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@maxkatz6 maxkatz6 merged commit d7ea99b into AvaloniaUI:master Jan 22, 2023
@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0028902-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

@workgroupengineering workgroupengineering deleted the fixes/Warnings/CS0618_ItemContainerGenerator branch January 22, 2023 06:57
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.

3 participants