From: Qian Sui Date: Tue, 13 Sep 2016 06:58:59 +0000 (+0800) Subject: Add IsHighlight for GenGrid to implement Calculator App. X-Git-Tag: submit/trunk/20170823.075128~110^2~278^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66317b1b6f995c076427fb8034698791c538b39b;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Add IsHighlight for GenGrid to implement Calculator App. Change-Id: Ic5656e6aeed5786a5ef5083ecf5f59b81cbf285a Signed-off-by: Qian Sui --- diff --git a/src/ElmSharp/ElmSharp/GenGrid.cs b/src/ElmSharp/ElmSharp/GenGrid.cs index 712a77f..8601e1a 100644 --- a/src/ElmSharp/ElmSharp/GenGrid.cs +++ b/src/ElmSharp/ElmSharp/GenGrid.cs @@ -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);