![Avatar](https://secure.gravatar.com/avatar/adf698c02d8e29468e44e630624cc84b.jpg?s=64&d=identicon&r=g)
Hello,
I would like to get resource information in Loaded event of document window.
However, I cannot get it sometimes...
Since it is difficult to explain here, I will send simple sample project later.
Would you please check it?
private void OnDocumentWindowLoaded(object sender, RoutedEventArgs e)
{
if (sender is DocumentWindow document)
{
// Sometimes null is returned.
var resource = document.TryFindResource("LabelStyle");
}
}