If I define an AttachmentEditor in the XAML of my MainPage.xaml that has it's FeatureLayer and SourceGraphic bound to a ViewModel that is directly set to it's DataContext it will correctly display the attachments and allow attachments to be added.
If I take the same AttachmentEditor XAML and put it in a ChildWindow and set the DataContext of the ChildWindow to the exact same model and show the ChildWindow the attachments are correctly displayed while the Add button is disabled.
How can I get this to work?