Exemplo n.º 1
0
 private void CloseOrder(object sender, EventArgs e)
 {
     if (OrderView.TranslationX == 0)
     {
         Action <double> callback = input => OrderView.TranslationX = input;
         OrderView.Animate("anim", callback, 0, 150, 16, 300, Easing.CubicOut);
     }
 }
Exemplo n.º 2
0
 private void OpenOrderTab(object sender, EventArgs e)
 {
     if (OrderView.TranslationX >= 150)
     {
         Action <double> callback = input => OrderView.TranslationX = input;
         OrderView.Animate("orderAnim", callback, 150, 0, 16, 300, Easing.CubicInOut);
     }
 }
Exemplo n.º 3
0
        private void closeTab()
        {
            if (OrderView.TranslationX >= 150)
            {
                return;
            }
            Action <double> callback = input => OrderView.TranslationX = input;

            OrderView.Animate("orderAnim", callback, 0, 150, 16, 300, Easing.CubicOut);
        }