Skip to content

Set Template-provided properties with a separate BindingPriority #2789

Closed

Description

@kekekeks

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.

Activity

  1. grokys commented on Jul 30, 2019

    @grokys
    Member

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

  2. grokys commented on Feb 23, 2022

    @grokys
    Member

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

  3. added this to the 11.0 milestone on Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions