Collection property

    General discussion

  • How create collection property and how create custom collection property editor with silverlight?



    Sunday, May 13, 2007 4:30 PM

All replies

  • Do you mean how to create a collection property on a custom class? If that is the case then it should be like any .Net class (you could use something like Collection<T> and expose it as a property.

     If that was not the question, then I think can you explain more about what you are trying to do?

    Not sure what you mean but custom collection property editor either


    Monday, May 14, 2007 12:28 PM
  • In ASP.NET custom control i use this property (MyEditor call My custom Windows Form where i select and set items):

    [Editor(typeof(MyEditor), typeof(System.Drawing.Design.UITypeEditor))]
    public List<MyItem> Items
            return m_Items;

    My question is how i create it in SilverLight application. 

    Tuesday, May 15, 2007 3:13 AM
  • Currently we do not support designers or design time –only behaviors. We are looking to address our design story in future versions. Currently in VS Orcas the designer is actual WPF, not Silverlight, rendering the XAML.

    Program Manager
    This post is provided "as-is"

    Tuesday, May 15, 2007 4:39 PM
  • Has this changed?  I am trying to get something to work in Silverlight 5.  Do we have UITypeEditor or some equivalent yet?

    Monday, March 26, 2012 6:56 PM