From: sung-su.kim Date: Mon, 17 Jul 2017 02:46:02 +0000 (+0900) Subject: Move ExpandedItemDepth property X-Git-Tag: submit/trunk/20170823.075128~110^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87053c13568531ddd0179f21f585edc50b0b6e61;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Move ExpandedItemDepth property - From GenList to GenListItem - TCAPI-2562 Change-Id: I97550d02236f7aff7287f275655021fb6f79eb43 --- diff --git a/src/ElmSharp/ElmSharp/GenList.cs b/src/ElmSharp/ElmSharp/GenList.cs index ff52588..ecb20e4 100644 --- a/src/ElmSharp/ElmSharp/GenList.cs +++ b/src/ElmSharp/ElmSharp/GenList.cs @@ -274,17 +274,6 @@ namespace ElmSharp } /// - /// Gets the depth of expanded item. - /// - public int ExpandedItemDepth - { - get - { - return Interop.Elementary.elm_genlist_item_expanded_depth_get(RealHandle); - } - } - - /// /// Gets or sets the timeout in seconds for the longpress event. /// public double LongPressTimeout diff --git a/src/ElmSharp/ElmSharp/GenListItem.cs b/src/ElmSharp/ElmSharp/GenListItem.cs index f019a25..8169386 100644 --- a/src/ElmSharp/ElmSharp/GenListItem.cs +++ b/src/ElmSharp/ElmSharp/GenListItem.cs @@ -285,6 +285,17 @@ namespace ElmSharp } /// + /// Gets the depth of expanded item. + /// + public int ExpandedItemDepth + { + get + { + return Interop.Elementary.elm_genlist_item_expanded_depth_get(Handle); + } + } + + /// /// Remove all sub-items (children) of the given item. /// ///