Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
WPF:

What is the difference between dynamic resource to static resource and to relative resource + examples of use?

When do we use x:Type, x:Static, x:Null, x:Array, x:key + examples of use? What is the meaning of the x keyword in these specific names and in custom names we create in the xaml?
Posted

1 solution

For the difference between DynamicResource and StaticResource, you can see that link:


http://stackoverflow.com/questions/200839/whats-the-difference-between-staticresource-and-dynamicresource-in-wpf[^]

For the second question, x is just an XML namespace. Probably declared as the following:


XML
<Window 
    ...
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    ...
        >
    ...
</Window>

For the specific keywords, see the appropriate MSDN topics: x:Type, x:Static, x:Null, x:Array and, x:Key.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900