I have a readonly .NET property exposed from a managed wrapper which gets the name of the database, let's say the property name is DBName. The DBName may vary depending upon the database connected to the WPF application. This property getter and setter also resides inside the managed .NET wrapper. I am using this(DBName) property in my WPF project.
I want to create a dependency property over this(DBName) .NET property which will be notified whenever this DBName changes. I want to show the DBName on my status bar in the WPF application.
Can I do that?