Setting a local value on a dependency property clears an eventually set binding. Use SetCurrentValue() in .NET 4.0 to work around this issue.