i have problem with ListView. If there are no items, its has to shown for example something like "No item" And I can do it, but if i do ListView disappear. I need that this text appear inside listview and listview header have to stay the same.
My listView style for empty list now is:
<Style TargetType="{x:Type ListView}" >
<Setter Property="BorderThickness" Value="2,2,0,0"/>
<Setter Property="BorderBrush" Value="#FFFFFF"/>
<Style.Triggers>
<DataTrigger Binding="{Binding Path=Items.Count,
RelativeSource={RelativeSource Self}}" Value="0">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Border BorderThickness="1" BorderBrush="#FFFFFF"
Background="#FFFFFF">
<TextBlock> No items</TextBlock>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</DataTrigger>
</Style.Triggers>
</Style>