As Michelle M said, DependencyPropertyHelper.GetValueSource is the way to go.
There is a clear assessment procedure in which the meaning may arise:
Most important thing on top
- Force value on property system (CoerceValueCallback)
- Animation
- Locally set value
- Style trigger
- Template Trigger
- Style setting
- Theme style trigger
- Theme Style Setting
- Inheritance
- Default value
Finally, ValidateValueCallback accepts or cancels the value if set
It probably helps
source share