X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FGenListItem.cs;h=b21c5501c1951913add61a20ccf1c1ee0f0f0b0e;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20170928.150026;hp=d1f7a854b56443cc1e5527a3eb0ff564d9cf8e52;hpb=87e72a859c56cb8732ccd14046cb509759ca9d2f;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/ElmSharp/ElmSharp/GenListItem.cs b/src/ElmSharp/ElmSharp/GenListItem.cs old mode 100644 new mode 100755 index d1f7a85..b21c550 --- a/src/ElmSharp/ElmSharp/GenListItem.cs +++ b/src/ElmSharp/ElmSharp/GenListItem.cs @@ -121,7 +121,6 @@ namespace ElmSharp /// /// Demote an item to the end of the list. /// - /// The genlistitem object public void DemoteItem() { Interop.Elementary.elm_genlist_item_demote(Handle); @@ -174,6 +173,9 @@ namespace ElmSharp } } + /// + /// Sets or gets the content to be shown in the tooltip item + /// [EditorBrowsable(EditorBrowsableState.Never)] public override string Cursor { @@ -194,6 +196,9 @@ namespace ElmSharp } } + /// + /// Sets or gets the style for this item cursor. + /// [EditorBrowsable(EditorBrowsableState.Never)] public override string CursorStyle { @@ -207,6 +212,9 @@ namespace ElmSharp } } + /// + /// Sets or gets the cursor engine only usage for this item cursor. + /// [EditorBrowsable(EditorBrowsableState.Never)] public override bool IsUseEngineCursor { @@ -220,11 +228,18 @@ namespace ElmSharp } } + /// + /// Set the text to be shown in the genlist item. + /// + /// The text to set in the content. public override void SetTooltipText(string tooltip) { Interop.Elementary.elm_genlist_item_tooltip_text_set(Handle, tooltip); } + /// + /// Unset tooltip from item. + /// public override void UnsetTooltip() { Interop.Elementary.elm_genlist_item_tooltip_unset(Handle); @@ -285,9 +300,9 @@ namespace ElmSharp /// /// Remove all sub-items (children) of the given item. /// - /// + /// /// This removes all items that are children (and their descendants) of the given item it. - /// + /// public void ClearSubitems() { Interop.Elementary.elm_genlist_item_subitems_clear(Handle); @@ -306,6 +321,9 @@ namespace ElmSharp Interop.Elementary.elm_genlist_item_item_class_update((IntPtr)Handle, itemClass.UnmanagedPtr); } + /// + /// Set the content to be shown in the tooltip item. + /// protected override void UpdateTooltipDelegate() { Interop.Elementary.elm_genlist_item_tooltip_content_cb_set(Handle, @@ -314,4 +332,4 @@ namespace ElmSharp null); } } -} +} \ No newline at end of file