Explain the difference between static and dynamicresource?
Answer Posted / Bhupendra Singh
In WPF, both StaticResource and DynamicResource are used to bind resources, but the main difference lies in when the resource is resolved. A StaticResource retrieves the resource at load time and does not update even if the original resource changes. On the other hand, a DynamicResource resolves the resource each time it is accessed, so it reflects any changes made to the original resource.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category