I have two classes in my script and an observable collection of secondary class type.
The method in the main class adds several objects of Person class type in an observable collection defined and initialized in primary class as follows:
public class PrimaryClass : BaseViewModel
{...
I can assign them using <Menuitem Header> but how to view all the items present in the Observable collection in a view model?
<Menu Grid.Row="1" Grid.Column="1" Width="100" VerticalAlignment="Center" Background="Gray">
<MenuItem Header="Item Collection">
<MenuItem...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.