Open Insire opened 2 years ago
Technically it's no so easy to implement. And I don't think that you get much better performance here.
The DataTrigger.Binding property expects an object of BindingBase class.
So this way or other, there must be a Binding object created.
Would it then make sense to throw out the default DataTrigger and write your own, faster variant?
While improving binding performance for regular controls is nice, the real use case for me would be, to use compiled bindings in styles with datatriggers, so that i can update the UI on state changes.
Example:
I dont think this is currently supported. Feel free to correct me otherwise.