I am learning WPF and found that the way it work is completely different. I have two questions about the following XAML markup:
<Button x:name="test" BackGround="{StaticResource MyColor}" />
1) Why x:name? Since name is a property, then why x should be prefix it. Is there any special meaning for x:name?
2) What is StaticResource and where is StaticResource stored?
Please explain in detail. Thanks.