The DiagramConstants class is not a dependency object nor the constant properties are dependency nor attached. This means that you cannot use Styles nor Bindings to set any property of that class.
The DiagramConstants class is designed to be used in code behind. You should set the required constants in the static constructor of your UserControl.
Pavel R. Pavlov