wpf - Collection Control and Attached Property -


i have 2 questions:

1) want create collection control can use in xaml this:

<local:mycollection x:key="mc">    <local:mycollection.groups>       <local:mycollectiongroup x:name="cg1"/>       <local:mycollectiongroup x:name="cg2"/>    </local:mycollection.groups> </local:mycollection>  <textbox local:collectioncontrol=mc/> 

how can this?

2) similiar above.

<local:mycollectiongroup x:name="cg1"/> <local:mycollectiongroup x:name="cg2"/>  <textbox local:collectioncontrol=cg1,cg2/> 

have looked using compositecollection? http://msdn.microsoft.com/en-us/library/system.windows.data.compositecollection.aspx

typically you'd like

<local:mycollection x:key="mc">     <compositecollection>         <local:mycollectiongroup x:name="cg1"/>         <local:mycollectiongroup x:name="cg2"/>     </compositecollection> </local:mycollection> 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -