Gets the name of the dependency property.
Assembly: WindowsBase (in WindowsBase.dll)
This property gets the name provided as the name parameter during dependency property registration. This name is immutable, and cannot be a null reference (Nothing in Visual Basic) or an empty string. Duplicate name registrations on the same owner type are not permitted, and will throw an exception when you attempt to register the duplicate.
The of a dependency property must follow the convention of matching the name of its dependency property identifier minus the suffix "Property". For details, see Custom Dependency Properties.
The following example queries various characteristics of a dependency property identifier, including the .
|How to: Implement a Dependency Property||This example shows how to back a common language runtime (CLR) property with a DependencyProperty field, thus defining a dependency property. When you define your own properties and want them to support many aspects of Windows Presentation Foundation (WPF) functionality, including styles, data binding, inheritance, animation, and default values, you should implement them as a dependency property.|