summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/ElementChangedEventArgs.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2016-12-16 11:00:07 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-03-24 13:18:57 +0900
commit4f0149dae93bf80770664d74a33f27c8f0821310 (patch)
treef42aa298fe8ab04e5e898d84a337bbcfcf44229e /Xamarin.Forms.Platform.Tizen/ElementChangedEventArgs.cs
parent4cf32c94986e6541f67c4909ac5428c92a221bce (diff)
downloadxamarin-forms-4f0149dae93bf80770664d74a33f27c8f0821310.tar.gz
xamarin-forms-4f0149dae93bf80770664d74a33f27c8f0821310.tar.bz2
xamarin-forms-4f0149dae93bf80770664d74a33f27c8f0821310.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.cs38
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;
+ }
+ }
+}