Add predefined value for EvasObject Hints props. 55/155055/1
authorpius.lee <pius.lee@samsung.com>
Thu, 12 Oct 2017 04:28:53 +0000 (13:28 +0900)
committerpius.lee <pius.lee@samsung.com>
Thu, 12 Oct 2017 04:28:53 +0000 (13:28 +0900)
Change-Id: I78b037aa5a736ec812487d2c3fbf9c1a6ac52c2d

src/ElmSharp/ElmSharp/NamedHint.cs [new file with mode: 0644]

diff --git a/src/ElmSharp/ElmSharp/NamedHint.cs b/src/ElmSharp/ElmSharp/NamedHint.cs
new file mode 100644 (file)
index 0000000..c19429f
--- /dev/null
@@ -0,0 +1,18 @@
+namespace ElmSharp
+{
+    /// <summary>
+    /// Predefined values for Hints properties in EvasObject
+    /// </summary>
+    public static class NamedHint
+    {
+        /// <summary>
+        /// This value can be used to <see cref="EvasObject.WeightX"/> and <see cref="EvasObject.WeightY"/>
+        /// </summary>
+        public static double Expand = 1.0;
+
+        /// <summary>
+        /// This value can be used to <see cref="EvasObject.AlignmentX"/> and <see cref="EvasObject.AlignmentY"/>
+        /// </summary>
+        public static double Fill = -1.0;
+    }
+}