private async Task ManageActionsVisibility() { if (GridActions.TranslationX == 0) { await Task.WhenAll(GridContent.TranslateTo(0, 0), GridActions.TranslateTo(-panelTranslation, 0)); } else { await Task.WhenAll(GridContent.TranslateTo(panelTranslation, 0), GridActions.TranslateTo(0, 0)); } }