dotnet / dotnet/winforms

Binding is not working properly when using custom delegate and Generic EventHandler for respective properties

Open
#7,820 5 comments 0 reactions 1 assignee Claimed by @KlausLoeffelmann View on GitHub
area-Binding
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### .NET version

Net 6.0

### Did it work in .NET Framework?

No

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

_No response_

### Issue description

The Binding is not working properly when using events with Custom delegate and Generic EventHandler delegate for respective properties.

The Binding is working Properly when using EventHandler delegate

### Steps to reproduce

sample: https://github.com/GokulThanu/testingsamples/tree/main/Binding%20Issue-detailed/Binding%20Issue

Steps to reproduce

Run the sample
Enter any Number in Custom control
Note that the last textbox is alone updated.

Observed
The last TextBox is alone updated with the value entered in the CustomControl

Expected
All TextBox is to be updated with the values entered in the CustomControl

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.