diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2016-12-16 11:00:07 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-04-24 13:36:43 +0900 |
commit | 18ad8a74707a1b36581f7123be74d2b34510e016 (patch) | |
tree | 92eeac43c2cd01690a321a80e123e957053c4d7d /Xamarin.Forms.Platform.Tizen/ElementChangedEventArgs.cs | |
parent | 80e5482487f8a37d89b620f54f4ff3c12bcc5b83 (diff) | |
download | xamarin-forms-18ad8a74707a1b36581f7123be74d2b34510e016.tar.gz xamarin-forms-18ad8a74707a1b36581f7123be74d2b34510e016.tar.bz2 xamarin-forms-18ad8a74707a1b36581f7123be74d2b34510e016.zip |
Add Tizen backend renderer
- Xamarin.Forms.Platform.Tizen has been added
- Xamarin.Forms.Maps.Tizen has been added
- RPM build spec has been added
Change-Id: I0021e0f040d97345affc87512ee0f6ce437f4e6d
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/ElementChangedEventArgs.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/ElementChangedEventArgs.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/ElementChangedEventArgs.cs b/Xamarin.Forms.Platform.Tizen/ElementChangedEventArgs.cs new file mode 100644 index 00000000..844752ec --- /dev/null +++ b/Xamarin.Forms.Platform.Tizen/ElementChangedEventArgs.cs @@ -0,0 +1,38 @@ +using System; + +namespace Xamarin.Forms.Platform.Tizen +{ + public class ElementChangedEventArgs<TElement> : EventArgs where TElement : Element + { + /// <summary> + /// Holds the old element which is about to be replaced by a new element + /// </summary> + /// <value>An TElement instance representing the old element just being replaced</value> + public TElement OldElement + { + get; + private set; + } + + /// <summary> + /// Holds the new element which will replace the old element + /// </summary> + /// <value>An TElement instance representing the new element to be used from now on</value> + public TElement NewElement + { + get; + private set; + } + + /// <summary> + /// Initializes a new instance of the <see cref="Xamarin.Forms.Platform.Tizen.ElementChangedEventArgs`1"/> class. + /// </summary> + /// <param name="oldElement">The old element which will be replaced by a newElement momentarily.</param> + /// <param name="newElement">The new element, taking place of an old element.</param> + public ElementChangedEventArgs(TElement oldElement, TElement newElement) + { + this.OldElement = oldElement; + this.NewElement = newElement; + } + } +} |