Exemplo n.º 1
0
        public object AddNew()
        {
            CustomerItemUi newItem = new CustomerItemUi();

            mItems.Add(newItem);
            return(newItem);
        }
Exemplo n.º 2
0
        public void ChangeSelection(object selectedItem)
        {
            CustomerItemUi itemUi = selectedItem as CustomerItemUi;

            if (itemUi != null)
            {
                int selectedIndex = mCustomers.IndexOf(itemUi);

                if (selectedIndex >= 0)
                {
                    mViewDataManipulator.ToAbsolutePosition(selectedIndex);
                }
            }
        }