Explain the difference between static and dynamicresource?
Answer / 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 |
What is the difference between page control and window control in wpf?
What is wpf used for?
How to make a tooltip appear while hovering over a disabled element?
Provide some instances where you have "xmlns:x" namespace in xaml?
What are Attached Properties in WPF?
What is the default Orientation of Stack Panel?
What are dynamic and static resources?
What is the importance of command and bindings in mvvm pattern?
What is path animation?
Why are layout panels needed for in WPF?
What is the base class for all renderable types in wpf?
Can wpf run on windows 7?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)