private SettingsVM() { MenuItemsData = new ObservableCollection <MenuItemDataVM>() { new MenuItemDataVM("Дети", ChildrenSetVM.GetInstance()), new MenuItemDataVM("Блюда", new DishListSetVM()) }; backspaceButton = () => { }; BackspaceButtonClick = new MenuItemDataCommand(Backspace_btn_click); }
public ChildrenSet() { InitializeComponent(); DataContext = ChildrenSetVM.GetInstance(); }