При добавлении нового AttachedProperty и использовании его в стиле возникает следующее исключение:
ArgumentNullException: Value cannot be null. Set property 'System.Windows.Setter.Property' threw an exception
---> System.ArgumentNullException: Value cannot be null. (Parameter 'property')
Подробнее здесь: https://stackoverflow.com/questions/789 ... erproperty