Add comments for ElmSharp APIs.
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / ToolbarItem.cs
old mode 100644 (file)
new mode 100755 (executable)
index 72075dd..8cdc3be
@@ -18,6 +18,9 @@ using System;
 
 namespace ElmSharp
 {
+    /// <summary>
+    /// The ToolbarItem is a item of Toolbar.
+    /// </summary>
     public class ToolbarItem : ItemObject
     {
         string _icon;
@@ -28,6 +31,9 @@ namespace ElmSharp
             _icon = icon;
         }
 
+        /// <summary>
+        /// Sets or gets the icon path of the item.
+        /// </summary>
         public string Icon
         {
             get
@@ -40,6 +46,10 @@ namespace ElmSharp
                 Interop.Elementary.elm_toolbar_item_icon_set(Handle, value);
             }
         }
+
+        /// <summary>
+        /// Sets or gets the text string of the item.
+        /// </summary>
         public string Text
         {
             get
@@ -52,6 +62,10 @@ namespace ElmSharp
                 SetPartText(null, value);
             }
         }
+
+        /// <summary>
+        /// Sets or gets the enable of the item.
+        /// </summary>
         public bool Enabled
         {
             get
@@ -63,6 +77,11 @@ namespace ElmSharp
                 Interop.Elementary.elm_object_disabled_set(Handle, !value);
             }
         }
+
+        /// <summary>
+        /// Sets or gets whether displaying the item as a separator.
+        /// </summary>
+        /// <remarks>Items aren't set as a separator by default. If set as a separator it displays a separator theme, so it won't display icons or labels.</remarks>
         public bool IsSeparator
         {
             get
@@ -74,6 +93,10 @@ namespace ElmSharp
                 Interop.Elementary.elm_toolbar_item_separator_set(Handle, value);
             }
         }
+
+        /// <summary>
+        /// Sets or gets whether the item is selected.
+        /// </summary>
         public bool IsSelected
         {
             get
@@ -86,8 +109,19 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Selected will be triggered when the item is selected.
+        /// </summary>
         public event EventHandler Selected;
+
+        /// <summary>
+        /// LongPressed will be triggered when the item is pressed long time.
+        /// </summary>
         public event EventHandler LongPressed;
+
+        /// <summary>
+        /// Clicked will be triggered when the item is clicked.
+        /// </summary>
         public event EventHandler Clicked;
 
         internal void SendSelected()