Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

How to Embed Arbitrary Content in a WPF Control

, 19 Sep 2012 Apache
Many WPF controls can display arbitrary XAML inside them. How can I do that with my own controls?
DisplayingContent.zip
DisplayingContent
ContentControl
UsingContentControl
bin
Debug
UsingContentControl.exe
Properties
Settings.settings
CustomControl
MyControls
Properties
Settings.settings
Themes
UsingMyControls
bin
Debug
MyControls.dll
UsingMyControls.exe
Properties
Settings.settings
img
AddingCustomControl.png
CustomControlHierarchy.jpg
QuickAndDirtyAttempt.png
UsingContentControl.png
UsingCustomControl.PNG
NaiveAttempt
bin
Debug
NaiveAttempt.exe
Properties
Settings.settings
QuickAndDirtyAttempt
bin
Debug
QuickAndDirtyAttempt.exe
Properties
Settings.settings

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0

Share

About the Author

Ivan Krivyakov
Technical Lead Thomson Reuters
United States United States
Ivan is a hands-on software architect/technical lead working for Thomson Reuters in the New York City area. At present I am mostly building complex multi-threaded WPF application for the financial sector, but I am also interested in cloud computing, web development, mobile development, etc.
 
Please visit my web site: www.ikriv.com.

| Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 19 Sep 2012
Article Copyright 2010 by Ivan Krivyakov
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid