microsoft / XamlBehaviorsWpf

Home for WPF XAML Behaviors on GitHub.
MIT License
852 stars 140 forks source link

Updating the command parameter binding for the ColorCommand property so null isn't being passed as the parameter value. #145

Closed smeddows closed 11 months ago

smeddows commented 11 months ago

Description of Change

Fixing the broken binding that was always passing null into the command. Explicitly stated the element name and then passed in the 'Background' property. Cast the parameter in the code behind with the Command

Bugs Fixed

This should fix the issue found in (Issue #144)[https://github.com/microsoft/XamlBehaviorsWpf/issues/144].

Changed:

Behavioral Changes

No changes to behavior are expected.