dotnet / dotnet/wpf

Please support value Binding for DataTrigger in WPF.

Open
#5,378 1 comment 2 reactions 0 assignees View on GitHub
Feature Request
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Please-support-value-Binding-for-DataTri/1512753)._

---
Please support Binding for the Value within the DataTrigger in WPF or at least create a new attribute on the Data Trigger for instance BindableValue that can be bound to something. Its not useful to use the DataTrigger because the value should be an actual value especially in case of string.

You could at least create an attached property as discussed in this post and expose it.

[https://stackoverflow.com/questions/2240421/using-binding-for-the-value-property-of-datatrigger-condition?rq=1] ()

---
### Original Comments

#### Feedback Bot on 8/24/2021, 11:37 PM:

Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.

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.