Example #1
0
        private void OnNavigationClicked(NavigationType navigationType)
        {
            var grid           = _container.GetItemsGrid();
            var currentItemPos = DetectCurrentItemPos(grid);
            var targetItem     = NavigationUtil.GetTarget(grid,
                                                          currentItemPos, navigationType);

            if (targetItem != null && !targetItem.IsBlockForInput)
            {
                FormModel.SelectedItem = targetItem.Model;
                FormModel.SetChanges();
            }
        }