I'd like to do something like this is a Style:
Value="{x:Bind MyCustomDependencyProp, RelativeSource={RelativeSource TemplatedParent}}"
Is that possible? Are there any performance benefits?
Using TemplateBinding does not seem to work, with a custom DependencyProperty as described elsewhere here on SO: https://stackoverflow.com/a/8657453
RelativeSource
is supported, onlyMode=FindAncestor
is not. – Conversable