Add IsHighlight for GenGrid to implement Calculator App.
authorQian Sui <qian.sui@samsung.com>
Tue, 13 Sep 2016 06:58:59 +0000 (14:58 +0800)
committerWonYoung Choi <wy80.choi@samsung.com>
Tue, 13 Sep 2016 08:12:31 +0000 (17:12 +0900)
Change-Id: Ic5656e6aeed5786a5ef5083ecf5f59b81cbf285a
Signed-off-by: Qian Sui <qian.sui@samsung.com>
ElmSharp/ElmSharp/GenGrid.cs

index 712a77f..8601e1a 100644 (file)
@@ -163,6 +163,18 @@ namespace ElmSharp
             }
         }
 
+        public bool IsHighlight
+        {
+            get
+            {
+                return Interop.Elementary.elm_gengrid_highlight_mode_get(Handle);
+            }
+            set
+            {
+                Interop.Elementary.elm_gengrid_highlight_mode_set(Handle, value);
+            }
+        }
+
         public GenGridItem Append(GenItemClass itemClass, object data)
         {
             GenGridItem item = new GenGridItem(data, itemClass);