Skip to content

Certain members of ItemAutomationPeer should be public #1931

Open
@batzen

Description

@batzen

Certain members of ItemAutomationPeer should be public to enable people to write better code by avoiding code copies or usage of reflection.
The members in ItemAutomationPeer especially affect custom automation peers for ItemsControl like controls.
Those internal members are, for example, used in RibbonGroupDataAutomationPeer.

Members that should be public:

  • GetWrapper
  • GetWrapperPeer

Exposing those members would remove the need to use reflection to call those methods, as their code can't be easily copied as GetWrapper relies on the internal type IGeneratorHost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement RequestedProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions