Skip to content

WPF0092 fix when generic event #393

@JohanLarsson

Description

@JohanLarsson

currently:

EventManager.RegisterClassHandler(typeof(RadioButton), UIElement.PreviewTouchDownEvent, new EventHandler((o, e) => Toggle((RadioButton)o!, e)));

should be:

EventManager.RegisterClassHandler(typeof(RadioButton), UIElement.PreviewTouchDownEvent, new EventHandler<TouchEventArgs>((o, e) => Toggle((RadioButton)o!, e)));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions