private async void StartAnim() { double displacement = ImgCover.Width; await Task.WhenAll( ImgCover.FadeTo(0, transitionTime, Easing.Linear), ImgCover.TranslateTo(-displacement, ImgCover.Y, transitionTime, Easing.CubicInOut)); await LbTitle.FadeTo(0, transitionTime, Easing.Linear); await LbDescription.FadeTo(0, transitionTime, Easing.Linear); }
void ReleaseDesignerOutlets() { if (ProfileView != null) { ProfileView.Dispose(); ProfileView = null; } if (btnEdit != null) { btnEdit.Dispose(); btnEdit = null; } if (ImgProfile != null) { ImgProfile.Dispose(); ImgProfile = null; } if (lblEdit != null) { lblEdit.Dispose(); lblEdit = null; } if (CoverView != null) { CoverView.Dispose(); CoverView = null; } if (ImgCover != null) { ImgCover.Dispose(); ImgCover = null; } if (lblCover != null) { lblCover.Dispose(); lblCover = null; } }