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 PopupPage() { BackgroundColor = Color.FromHex("#80000000"); Animation = AnimationServices.GeAnimation(AnimationName); }