I\'m trying to bind a control to the parent\'s Height/width property using ElementName
and a Path. However, I don\'t want to bind to the actual height, but to exact
No, standart binding doesn't support expressions in Path. But you can look at my project CalcBinding, which was developed specially to resolve this problem and some others. Say, you can write something like:
or
or
where A, B, C, IsChecked - properties of viewModel and it will work properly
Goodluck!