Modifying an observable collection bound to a ListBox

Posted by Rohit Kandhal on Stack Overflow See other posts from Stack Overflow or by Rohit Kandhal
Published on 2010-06-14T10:14:27Z Indexed on 2010/06/14 10:22 UTC
Read the original article Hit count: 205

Filed under:
|

I've a collection in viewmodel binded to listbox. I want to hide a particular type from the collection. Here is the code:

public ObservableCollection [YZModeModelView]  YZModeModelView
{
    return this.XModelVIew.YZModelViewCollection;
}

I want to a particular type of model view's from YZModelViewCollection. eg. ModelView's with property abc set to null.

Any suggestions ...

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf