Change-Id: If550f20af5c9f12e776981cab7a6034f4e0f22f7
Signed-off-by: Lukasz Foniok <l.foniok@samsung.com>
}
}
+ public GenListItem FirstItem
+ {
+ get
+ {
+ IntPtr handle = Interop.Elementary.elm_genlist_first_item_get(Handle);
+ return ItemObject.GetItemByHandle(handle) as GenListItem;
+ }
+ }
+
+ public GenListItem LastItem
+ {
+ get
+ {
+ IntPtr handle = Interop.Elementary.elm_genlist_last_item_get(Handle);
+ return ItemObject.GetItemByHandle(handle) as GenListItem;
+ }
+ }
+
public event EventHandler<GenListItemEventArgs> ItemSelected;
public event EventHandler<GenListItemEventArgs> ItemUnselected;
public event EventHandler<GenListItemEventArgs> ItemPressed;
internal static extern IntPtr elm_genlist_first_item_get(IntPtr obj);
[DllImport(Libraries.Elementary)]
+ internal static extern IntPtr elm_genlist_last_item_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern bool elm_genlist_item_selected_get(IntPtr obj);
[DllImport(Libraries.Elementary)]