The property "{0}" is not a DependencyProperty. To be used in markup, non-attached properties must be exposed on the target ...

The property "{0}" is not a DependencyProperty. To be used in markup, non-attached properties must be exposed on the target type with an accessible instance property "{0}". For attached properties, the declaring type must provide static "Get{0}"  and "Set{0}" methods.