Browse Source
* Add failing test for #16113. * Convert delegate to ICommand in style setter. When compiling a binding to e.g. `Button.Command` in a style `Setter`, we were not converting `XamlIlClrMethodPathElementNode` to `XamlIlClrMethodAsCommandPathElementNode` as we were only testing whether the property that the binding was being assigned to is an `ICommand`. If we detect that we're assigning the binding to a `Setter.Value` then we need to look in the `Setter.Property` to see check whether the property is an `ICommand` too. Fixes #16113release/11.1.0-rc2
3 changed files with 57 additions and 2 deletions
Loading…
Reference in new issue