Binding ContentControl to an ObservableCollection if Count == 1

Posted by Walter on Stack Overflow See other posts from Stack Overflow or by Walter
Published on 2010-06-12T07:25:38Z Indexed on 2010/06/12 7:33 UTC
Read the original article Hit count: 354

Filed under:
|

Hello,

how can I bind the Content of a ContentControl to an ObservableCollection. The control should show an object as content only if the ObservableColelction contains exactly one object (the object to be shown).

Thanks, Walter

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wpf-binding