Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

smeddows
Copy link

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//issues/144].

Changed:

  • void Execute(object parameter)
  • InvokeCommandControl.xaml

Behavioral Changes

No changes to behavior are expected.

…so that it works properly and isn't always passing null.
@brianlagunas brianlagunas merged commit 1d20e8f into microsoft:master Dec 12, 2023
2 checks passed
dpvreony referenced this pull request in reactiveui/ReactiveUI Jun 13, 2024
…22 (#3834)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[Microsoft.Xaml.Behaviors.Wpf](https://togithub.com/Microsoft/XamlBehaviorsWpf)
([source](https://togithub.com/microsoft/XamlBehaviorsWpf)) | `1.1.77`
-> `1.1.122` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.Xaml.Behaviors.Wpf/1.1.122?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Microsoft.Xaml.Behaviors.Wpf/1.1.122?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Microsoft.Xaml.Behaviors.Wpf/1.1.77/1.1.122?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.Xaml.Behaviors.Wpf/1.1.77/1.1.122?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/XamlBehaviorsWpf
(Microsoft.Xaml.Behaviors.Wpf)</summary>

###
[`v1.1.122`](https://togithub.com/microsoft/XamlBehaviorsWpf/releases/tag/v1.1.122):
Behaviors 1.1.122

##### What's Changed

This release fixes an issue in the
XAMLBehaviorsSample.InvokeCommandControl Binding:

- Updating the command parameter binding for the ColorCommand property
so null isn't being passed as the parameter value by
[@&#8203;smeddows](https://togithub.com/smeddows) in
[https://github.com/microsoft/XamlBehaviorsWpf/pull/145](https://togithub.com/microsoft/XamlBehaviorsWpf/pull/145)

**Full Changelog**:
microsoft/XamlBehaviorsWpf@v1.1.77...v1.1.122

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/reactiveui/ReactiveUI).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJEZXBlbmRlbmN5IE1hbmFnZW1lbnQiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants