Questions tagged [dynamicresource]

DynamicResource is a XAML mechanism allowing the resources to be resolved during application runtime. It also allows changing the resources in such way, that each user of these resources will be notified and allowed to react accordingly to the change.

134 questions
0
votes
1 answer

ListView DynamicResource

When attempting to use a DynamicResource as an ItemsSource for a ListView my application is outputting the error: Window must be the root of the tree. Cannot add Window as a child of Visual. If I was to remove the ItemsSource, and leave the…
Lima
  • 1,203
  • 3
  • 22
  • 51
0
votes
2 answers

WPF Style does not affect certain properties

I've got a Style specified for Paragraph as part of my FlowDocumentReader's Resources section: