Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Binding to n-levels
posted

Lets take the example of a file system where you have something such as:

<Folder folderName="c:\">

   <File fileName="somefile.txt" />

   <Folder folderName="windows" />

</Folder>

I intentionally named them folderName and fileName to differentiate in the xaml example if this is possible. Some of the examples name almost everything "Title" or "Name" etc so it is hard to differentiate.

Is this possible? btw.. this would include using a specific file icon and folder icon. I know via code I can enumerate and add items, but im wondering if binding is possible via one xml datasource.

thanks!

Parents Reply Children