Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight
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 8-Aug-12 23:35pm
Comments
Wes Aday at 9-Aug-12 9:27am
   
Help with what? You have not defined a problem or shown any code that demonstrates your problem.
Christian Amado at 9-Aug-12 9:30am
   
Very Fuzzy question!

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
losmac at 9-Aug-12 16:42pm
   
Excellent answer! +5
Sergey Alexandrovich Kryukov at 9-Aug-12 16:54pm
   
Thank you very much.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Schatak 394
1 OriginalGriff 355
2 Sergey Alexandrovich Kryukov 119
3 _Amy 115
4 Rob Philpott 100
0 OriginalGriff 7,097
1 Sergey Alexandrovich Kryukov 5,623
2 Maciej Los 3,504
3 Peter Leow 3,373
4 DamithSL 2,505


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 9 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100