I am new in WPF and MVVM. I have two list List A and List B.First List contains many items and second list contains few item. Every item in list A execute sequentially.First item will send command to printer and will get response from printer,if response matches then it will move to next.
Item form List A send one command or Multiple command.
So,now i want to check whether item send one command or multiple command.If it is sending multiple command then i want to display all item of from B list below to respective A's list and data binding for that.
For Single command my code is working fine
Note:List B varies from item to item.
Following are the properties i used in my code:
private bool isMultiCommand;
public bool IsMultiCommand
{
get { return isMultiCommand; }
set { SetProperty(ref isMultiCommand, value)};
}
public List<TestItem> MultipleCommandTestItemsList { get; set; }
public string TestItemName { get; set; }
private List<TestItem> testItemsList;
public List<TestItem> TestItemsList
{
get { return testItemsList; }
set { SetProperty(ref testItemsList, value); }
}