View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001889 | NoesisGUI | C# SDK | public | 2021-01-18 20:45 | 2025-08-06 17:26 |
| Reporter | DavidYawCSpeed | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | assigned | Resolution | open | ||
| Product Version | 3.0.9 | ||||
| Summary | 0001889: MultiBinding's Binding list gets overwritten by list from XAML | ||||
| Description | I have a subclass of MultiBinding, which sets a couple properties by default: It sets a converter, and it sets the first binding in the collection. Any bindings specified in XAML should be added to the list (this is what WPF does), but instead the entire list is replaced, and my default first binding is removed. There is a workaround for this, so this is 'minor' severity. | ||||
| Steps To Reproduce |
When I set a breakpoint in FancyMultiConverter.Convert, the array 'values' has the Width and Height values, but not the string result of the FooBar resource. When I implement the same thing in WPF, the array of 'values' in the converter has all three binding results: The one applied in the constructor, plus the two specified in XAML. I do have a workaround for this, but it's not pretty. I apply the default first binding in the constructor, which works if it's the only binding, and in ProvideValue, I check if it's still there, and re-apply it if it was erased by the list in XAML.
| ||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-01-18 20:45 | DavidYawCSpeed | New Issue | |
| 2021-01-18 20:46 | DavidYawCSpeed | Steps to Reproduce Updated | |
| 2021-01-18 20:47 | DavidYawCSpeed | Steps to Reproduce Updated | |
| 2021-01-18 20:47 | DavidYawCSpeed | Steps to Reproduce Updated | |
| 2021-01-18 20:48 | DavidYawCSpeed | Steps to Reproduce Updated | |
| 2021-01-19 17:11 | jsantos | Assigned To | => sfernandez |
| 2021-01-19 17:11 | jsantos | Status | new => assigned |
| 2021-01-19 17:11 | jsantos | Target Version | => 3.0.10 |
| 2021-02-10 18:29 | jsantos | Target Version | 3.0.10 => 3.0.11 |
| 2021-03-15 17:10 | jsantos | Target Version | 3.0.11 => 3.0.12 |
| 2021-05-04 02:42 | jsantos | Target Version | 3.0.12 => 3.0.13 |