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

Set Template-provided properties with a separate BindingPriority #2789

Closed
kekekeks opened this issue Jul 29, 2019 · 2 comments · Fixed by #7679
Closed

Set Template-provided properties with a separate BindingPriority #2789

kekekeks opened this issue Jul 29, 2019 · 2 comments · Fixed by #7679
Milestone

Comments

@kekekeks
Copy link
Member

Right now template-provided properties are being set with LocalValue priority which makes them to take precedence over any style setters. That's really inconvenient since it makes some control aspects impossible to style without changing the entire ControlTemplate.

We should have a separate TemplateProperty binding priority which can be overridden by StyleTrigger binding priority.

@grokys
Copy link
Member

grokys commented Jul 30, 2019

I'm not even sure we'd need a separate priority. I think using Style priority would do it.

@grokys
Copy link
Member

grokys commented Feb 23, 2022

Actually I think TemplatedParent priority is the correct one (should probably be renamed to Template)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants