private void OnLeftItemTapped(object sender, EventArgs e) { Xamarin.Forms.View leftView = (Xamarin.Forms.View)sender; leftView.SetAnimation(); if (LeftItemTapCommand != null && LeftItemTapCommand.CanExecute(null)) { LeftItemTapCommand.Execute(null); } }