Google News
logo
WPF - Interview Questions
Write down the syntax for resources in WPF.
Syntax :
<elementName propertyName="{markupExtension keyName}">  
   <!-Content -->  
</elementName>   
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.
Advertisement