public MeansSearchPage() { InitializeComponent(); _viewModel = new MeansSearchPageViewModel(); _viewModel.Navigation = Navigation; _viewModel.Description = Common.txt_SearchDescription; _viewModel.DescriptionIsVisible = true; BindingContext = _viewModel; ContentWrapper.TranslateTo(0, 100, 0); Image_Search.FadeTo(1, 0); }
private void Show_Search_Animation() { ContentWrapper.TranslateTo(0, 90, _translateAnimationDuration); Image_Search.FadeTo(1, _fadeAnimationDuration * 2); }
private void Hide_Search_Animation() { ContentWrapper.TranslateTo(0, 0, _translateAnimationDuration); Image_Search.FadeTo(0, _fadeAnimationDuration / 2); }