WPF: how to define collections for use in xaml

Posted by Aran Mulholland on Stack Overflow See other posts from Stack Overflow or by Aran Mulholland
Published on 2010-05-27T06:29:54Z Indexed on 2010/05/27 6:41 UTC
Read the original article Hit count: 191

Filed under:
|
|

I want to define something like this

<myCustomControl>
  <myCustomControl.Images>
     <Image
        Source="{StaticResource LockedIcon16}" />
     <Image
        Source="{StaticResource UnlockedIcon16}"/>
  <myCustomControl.Images>
<myCustomControl/>

what property definitions do i need to get that collection (Images) happening?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about xaml