protected async Task LoadUIComponent(UIElement ue) { if (ue == null) { return; } ue.Opacity = 0; if (!Container.Children.Contains(ue)) { Container.Children.Add(ue); } var ef = new EfFade(); await ef.FadeIn(ue, 700); }
protected async Task UnloadUIComponent() { if (Currrent == null) { return; } var ue = Currrent.Content as UIElement; if (ue == null) { return; } var ef = new EfFade(); await ef.FadeOut(ue, 500); }