protected override void OnPropertyChanged(string propertyName = null) { if (propertyName == nameof(Padding) || propertyName == nameof(IsSystemPadding)) { base.Padding = GetPadding(); } else { base.OnPropertyChanged(propertyName); } if (propertyName == nameof(AnimationName)) { _animation = AnimationServices.GeAnimation(AnimationName); } }
public void Show(IPopupAnimation animator) { animator.Show(Content, OnShow); }
public void Close(IPopupAnimation animator) { animator.Close(Content, OnClose); }