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");
}
}