Skip to content

PropertyGrid incorrect editor for IList of T, T is primitive type? #1767

Description

@daihung

If I have these properties with item type is primitive type

public IList<int> IListOfInt { get; set; }
public List<int> ListOfInt { get; set; }

PropertyGrid is correctly return 'PrimitiveTypeCollectionEditor' as default editor for List<int>. However, for IList<int>, it returns 'CollectionEditor' as the default editor.

I will thought IList<int> should also use 'PrimitiveTypeCollectionEditor', why not?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions