Click here to Skip to main content
15,899,937 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to use content control in Silverlight?

I need to load a view into content control and change their properties by clicking button.

Please give some example.....
Posted
Updated 22-Aug-12 19:13pm
v3

If you read the documentation form Microsfot you proberbly already used it, as most controls inherit it:
http://msdn.microsoft.com/en-us/library/system.windows.controls.contentcontrol%28v=vs.95%29.aspx[^]
 
Share this answer
 
Comments
suganyass 23-Aug-12 0:25am    
I need to bind viewmodel inside the content control. Is it possible?
Kenneth Haugland 23-Aug-12 0:27am    
That is done often in WPF and Silverlight applications so whats the problem?

Here is one example:
http://stackoverflow.com/questions/2892271/wpf-listview-gridview-displaymemberbinding-center-alignin-content
suganyass 23-Aug-12 0:29am    
can u give sample for that.... i dont know how to bind.
below article can help you to understand silverlight content control
this control used to host control within it.
http://www.silverlightshow.net/items/Understanding-the-Content-Controls-in-Silverlight.aspx[^]
 
Share this answer
 
v2
 
Share this answer
 

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