I am trying to add an attached propety to a DocumentWindow that is inherited by the UIElements of its content.
The attached property is declared like this:
DependencyProperty.RegisterAttached("MyProperty", typeof(IMyProperty), typeof(MyAttachedProperties), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
The Document Window is created in code and the attached property is immediately set. Then I define the UI Elements for the window and display it.
When I Snoop the (MDI) application I see my property has the correct value on the DocumentWindow but not on the related PART_SelectedContentHost or its children.