using System; namespace Xamarin.Forms.Platform.Tizen { public class ElementChangedEventArgs : EventArgs where TElement : Element { /// /// Holds the old element which is about to be replaced by a new element /// /// An TElement instance representing the old element just being replaced public TElement OldElement { get; private set; } /// /// Holds the new element which will replace the old element /// /// An TElement instance representing the new element to be used from now on public TElement NewElement { get; private set; } /// /// Initializes a new instance of the class. /// /// The old element which will be replaced by a newElement momentarily. /// The new element, taking place of an old element. public ElementChangedEventArgs(TElement oldElement, TElement newElement) { this.OldElement = oldElement; this.NewElement = newElement; } } }