-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make Setter.Value the ContentProperty for Setter #84
Comments
Setter is in PresentationFramework.dll - that code is not yet in this repo. (System.Xaml to start). |
I'll wait, then!
Yes, that's what I thought. I've been ranting about this for years, so I'll be glad to be able to fix it 😉 |
This is such an obvious and simple thing, I'm now wondering why I didn't think of that 😁 Awesome idea |
Is there anything still blocking this feature? PR #745 has been open for months, can it be merged now that .NET Core 3.0 (and 3.1) has been released? |
Should this issue be reopened given that the PR has been reverted? |
Currently, when you want to set the value of a setter to a complex object (e.g. control template), you have to specify the
<Setter.Value>
element:But this element brings no value at all, it just adds noise. Making
Value
theContentProperty
forSetter
would make the code a bit less verbose:(note: I tried to make this change, but I can't find the Setter class anywhere in the repo... nor can I find any of the controls. Where are they? Is there another repo?)
The text was updated successfully, but these errors were encountered: