/// <summary> /// Calls <see cref="InvalidateArrange"/> on the control on which a property changed. /// </summary> /// <param name="e">The event args.</param> private static void AffectsArrangeInvalidate(PerspexPropertyChangedEventArgs e) { ILayoutable control = e.Sender as ILayoutable; if (control != null) { control.InvalidateArrange(); } }
/// <summary> /// Calls <see cref="InvalidateArrange"/> on the control on which a property changed. /// </summary> /// <param name="e">The event args.</param> private static void AffectsArrangeInvalidate(AvaloniaPropertyChangedEventArgs e) { ILayoutable control = e.Sender as ILayoutable; control?.InvalidateArrange(); }