Source
www.codeproject.com (The Code Project), posted 2010-06-20
Added By
BillHenn on 2010-06-22
Vitals
- 20041 total views
Summary
Examines a custom class that allows adorners to be defined in XAML
Excerpt
"The main class is AdornedControl which is derived from ContentControl. The content of AdornedControl is displayed in the normal way in the visual tree of the UI. The adorner is defined using the AdornerContent property of AdornedControl. The content of this property, in XAML, defines the UI elements that will be placed in the adorner that is attached to the AdornedControl. I have included two sample projects to accompany this article. The simple sample shows a very simple use of AdornedControl that is described in this article. The advanced sample shows a more advanced usage that meets the needs described in the Background section below."
Full Link
http://www.codeproject.com/kb/wpf/adornedcontrol.aspx
About The Code Project
The Code Project is a community of software development and design developers joined together with certain common goals: to learn, to teach and to have fun programming. Developers from all over the world come together to share source code, tutorials and knowledge for free to help their fellow programmers. It is extremely popular and is one of the best places on the web to look for open source implementations of .NET control, components, and techniques. http://www.codeproject.com/
The WPFpedia resource guide has 238 total links to this site.
Comments
There aren't any comments yet for this resource. Be the first to add one!
Add a Comment
Please log in to post comments.