I need to be able to access a real property which is an interface. I want to build an automation object that mirrors that real interface.
How can I go about this? I tried mirroring C# properties along with AutomationProperties, but this didn't work and resulted in serialization exceptions.
(When accessed by .GetAttachedProperty<AutomationObjectForIWhatever>() )
Any ideas on how to accomplish this?