I have a rectangle that i want to fill with a color. When i write Fill = "#FFFFFF90" it shows me an error:
Cannot implicitly convert type ‘string’ to ‘System.Windows.Media.Brush
Please give me some advice.
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.
You could use the same mechanism the XAML reading system uses: Type converters