In Resource Dictionary, can we both have x:Name and x:Key?
Can we retrieve a self-defined element through x:Name instead of x:key?
If I wanna store more self-defined attributes in one element, where should I put those attributes?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No cannot use both x:key and x:name in resource dictionary.
FindResource only works for x:key.
Use can use Datacontext for more attributes.