Skip to content

Cannot retrieve a helper type for generic public type ICollection #1725

Open

Description

Describe the bug
The exception is thrown after calling FirstOrDefault on the value returned by VisualTreeHelper.FindElementsInHostCoordinates.

To Reproduce

var elements = VisualTreeHelper.FindElementsInHostCoordinates(...);
var first = elements.FirstOrDefault();

Version Info
2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions