Dependency properties are created the same way as properties.
Is a dependency property used only while creating a custom control?
Dependency properties are created the same way as properties.
Is a dependency property used only while creating a custom control?