InterviewSolution
| 1. |
What do you mean by resources in WPF? |
|
Answer» In WPF, a resource is a type of object that you can reuse across multiple PLACES. The resource concept provides a simple way for objects and values to be reused. For instance, you can use resources such as styles, BRUSHES, bitmap images, etc., in various places within your WPF application. A unique key is assigned to each resource so it can be referenced from other parts of the application. The WPF resources allow you to set properties of several controls at once. The background property can be set for multiple elements in a WPF application using a single resource, for example. Resources can be DECLARED at:
|
|