tags:

views:

130

answers:

1

Greetings, I have a FlowDocument where List control is placed. Inside this list I have some ListItem. Is there any way to set some kind of Visibility for specific ListItem? I don't see a coressponding Property like Visibility for ListItem. When I set fontsize="0.1" then application hangs (it goes into infinite loop).

+2  A: 

You can set visibility of the ListItem using a binding on the ListItemTemplate, but a better approach would probably be to filter the list that you're binding to. Is there a reason that your list contains items that you don't want to display in the list?

Dan Puzey