Hi everyone i am working on a project which is configuring a networking device via telnet,i am using C# Wpf. The problem is i have a Observable Collection and i want to display number of items present in the observable collection but it is not displaying . I have tried following :
public ObservableCollection<VLANSPropertyClass> vlan { get; set; }
public int Vlans
{
// Retreive value from Configuration Library
get
{
return this.vlan.Count;
}
}
XAML is :
<TextBlock Margin="3,0"
Style="{StaticResource SummaryValues}"
Text="{Binding Path=Vlans}"
Visibility="Visible"
/>
Now it is not displaying anything .Any help would be highly appreciable :)