Click here to Skip to main content
14,869,589 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi
When i select some text click on right option i want to show context menu in this menu i want to show colorpicker when i select color selected text background is change based on select color please help me?
Posted
Comments
[no name] 9-Aug-12 9:27am
   
Help with what? You have not defined a problem or shown any code that demonstrates your problem.
Christian Amado 9-Aug-12 9:30am
   
Very Fuzzy question!

1 solution

There are no "static" or "non-dynamic" properties in the UI. With Silverlight, you just need to use the property System.Windows.Controls.Control.Background:
http://msdn.microsoft.com/en-us/library/system.windows.controls.control.background%28v=vs.95%29.aspx[^].

—SA
   
Comments
Maciej Los 9-Aug-12 16:42pm
   
Excellent answer! +5
   
Thank you very much.
--SA

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