Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to bind a color in XAML to my custom UserControl properties (And not default properties, the properties that I've made)
Posted
Updated 12-Mar-13 10:32am
v2
Comments
FrankLavigne 11-Mar-13 13:09pm    
Can you post a sample project?

Thanks,
Thanks,
Frank | Developer Evangelist @Microsoft
http://bit.ly/30ToLaunchWin8[^]
Boudi AlSayed 12-Mar-13 16:28pm    
I have no project but I just want to bind color to my custom UserControl properties (And not default properties, the properties that I've made) Thanks for Replying :)
Boudi AlSayed 12-Mar-13 16:33pm    
I've deleted my code and asked in a simple way :)

1 solution

I'm not sure, and can't find proof link now.. try to change property type from Color to object. As far as I remember there was some problem with binding value types in WinRT
 
Share this answer
 
Comments
Boudi AlSayed 12-Mar-13 17:38pm    
Thanks but didn't work too :S

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