protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e) { base.OnPropertyChanged(e); if (e.Property == Control.PaddingProperty) { PaddingChanged?.Invoke(this.Padding); } }
protected virtual void OnPaddingChanged(EventArgs e) { PaddingChanged?.Invoke(this, e); }
protected virtual void OnPaddingChanged(EventArgs e) { PaddingChanged?.Invoke(this, e); OnRedraw(EventArgs.Empty); }