Skip Navigation LinksHome / Search


Results Per Page

Found 1 result for child elements.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 1 comments  /  posted by  Denislav Savkov  on  Sep 05, 2008 (more than a year ago)

    All child elements in fact are properties. To indicate which property accepts the child element as its value you must specify the ContentProperty attribute of the class.

    public class SomeClass
        public PropertyType PropertyName {get;set;}
    <SomeClass x:Name="someClassInstance">

    This way the last declaration corresponds to the following C# code


    someClassInstance.PropertyName = Value;
    That's it!



Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)