What are static and dynamic resources?



What are static and dynamic resources?..

Answer / Umesh Srivastava

Static resources are XAML elements that are defined within a resource dictionary and are available throughout an entire application or user control. They are declared with the StaticResource key and can be referenced using {StaticResource KeyName}. Dynamic resources, on the other hand, are those that are created at runtime and their values can change during the application's execution. They are declared with the DynamicResource key.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WPF Interview Questions

What is the importance of inotifypropertychanged in wpf?

1 Answers  


What are the capabilities of wpf?

1 Answers  


What is dependency property in wpf?

1 Answers  


What is value converter in wpf?

1 Answers  


What is the name of the frameworkelement most commonly used to work with media in wpf?

1 Answers  


What is the namespace that is used for WPF?

1 Answers   Wipro,


Is x:static the same as a data binding?

1 Answers  


Name the important subsystems in WPF?

1 Answers  


What is windows form application?

1 Answers  


How to navigate from window to page in wpf?

1 Answers  


When wpf was introduced?

1 Answers  


Is wpf still relevant 2019?

1 Answers  


Categories