Add Item "No Selection" to itemlist

2 posts, 0 answers
  1. Heiko
    Heiko avatar
    124 posts
    Member since:
    Oct 2012

    Posted 27 Aug 2010 Link to this post

    Hi,

    I use a combobox where a observable collection of a custom class is bind to. I would like to add two more Items:

    1. "Add New"
    2. "No Selection"

    With first item user can add a new item to collection
    With second one user will be able to select no items

    How can add this to items.

    Thanks,
    Neils
  2. Heiko
    Heiko avatar
    124 posts
    Member since:
    Oct 2012

    Posted 28 Aug 2010 Link to this post

    Problem solved. Did not see the "ClearSelectionButtonVisibility" Property. Regarding the "Add New" topic, I just added a new instance of my class to the collection and put this to first. That's it!
  3. DevCraft banner
Back to Top