Question - Write down the syntax for resources in WPF.
Answer -
Syntax:
Here,
elementName: Name of the element that uses the resource.
propertyName: Name of the property that takes its value from the resource.
markupExtension: Define type of resource.
keyName: key name of the resource, which is unique string to identify the resource.