[NUI.Components] Fix build warnings (#1233) (#1237)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Controls / ButtonGroup.cs
index 8a8eed4..2f29950 100755 (executable)
@@ -237,6 +237,10 @@ namespace Tizen.NUI.Components
             return btGroup.itemShadowBorder;
         });
 
+        /// <summary>
+        /// Construct an button group.
+        /// </summary>
+        /// <param name="view">root view</param>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public ButtonGroup(View view) : base()
         {
@@ -247,6 +251,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get group item number.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public int Count
         {
@@ -256,18 +263,33 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Check if the button exists.
+        /// </summary>
+        /// <param name="bt">button item</param>
+        /// <returns></returns>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public bool Contains(Button bt)
         {
             return itemGroup.Contains(bt);
         }
 
+        /// <summary>
+        /// Get button item index.
+        /// </summary>
+        /// <param name="bt">button item</param>
+        /// <returns></returns>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public int GetIndex(Button bt)
         {
             return itemGroup.IndexOf(bt);
         }
 
+        /// <summary>
+        /// Get item by index.
+        /// </summary>
+        /// <param name="index">item index.</param>
+        /// <returns></returns>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Button GetItem(int index)
         {
@@ -278,6 +300,10 @@ namespace Tizen.NUI.Components
             return itemGroup[index];
         }
 
+        /// <summary>
+        /// Add item into group.
+        /// </summary>
+        /// <param name="bt">button item.</param>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void AddItem(Button bt)
         {
@@ -289,9 +315,14 @@ namespace Tizen.NUI.Components
             root.Add(bt);
         }
 
+        /// <summary>
+        /// The item to removed.
+        /// </summary>
+        /// <param name="bt">button item.</param>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void RemoveItem(Button bt)
         {
+            if (null == bt) return;
             if (!itemGroup.Contains(bt))
             {
                 return;
@@ -301,6 +332,10 @@ namespace Tizen.NUI.Components
             bt.Dispose();
         }
 
+        /// <summary>
+        /// Remove item by index.
+        /// </summary>
+        /// <param name="index">item index.</param>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void RemoveItem(int index)
         {
@@ -314,6 +349,9 @@ namespace Tizen.NUI.Components
             bt.Dispose();
         }
 
+        /// <summary>
+        /// Remove all items.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void RemoveAll()
         {
@@ -325,6 +363,10 @@ namespace Tizen.NUI.Components
             itemGroup.Clear();
         }
 
+        /// <summary>
+        /// Update button by style.
+        /// </summary>
+        /// <param name="btStyle">button style.</param>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void UpdateButton(ButtonStyle btStyle)
         {
@@ -376,6 +418,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get or set point size of item.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public float ItemPointSize
         {
@@ -389,6 +434,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get or set font family of item.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public string ItemFontFamily
         {
@@ -402,6 +450,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get or set text color of item.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Color ItemTextColor
         {
@@ -415,6 +466,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get or set text alignment of item.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public HorizontalAlignment ItemTextAlignment
         {
@@ -428,6 +482,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get or set background color of item.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Selector<Color> OverLayBackgroundColorSelector
         {
@@ -458,6 +515,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get or set background border of item.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Rectangle ItemBackgroundBorder
         {
@@ -471,6 +531,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get or set shadow resource of item.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public string ItemShadowUrl
         {
@@ -484,6 +547,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Get or set shadow border of item.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Rectangle ItemShadowBorder
         {
@@ -497,6 +563,9 @@ namespace Tizen.NUI.Components
             }
         }
 
+        /// <summary>
+        /// Dispose.
+        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public void Dispose()
         {