[NUI] Update some descriptions (#2990)
authorSeoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Tue, 4 May 2021 01:58:58 +0000 (10:58 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 21 May 2021 07:37:43 +0000 (16:37 +0900)
- For Slider, split some descriptions from summary according to a review.
- For ViewEvent, fix the build warning : CS1570
 "<" is "&lt;" and ">" is "&gt;" in XML comments.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
src/Tizen.NUI.Components/Controls/Slider.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs

index b2696f5..2036369 100755 (executable)
@@ -938,12 +938,13 @@ namespace Tizen.NUI.Components
 
         /// <summary>
         /// Gets or sets the discrete value of slider.
-        ///
+        /// </summary>
+        /// <remarks>
         /// The discrete value is evenly spaced between MinValue and MaxValue.
         /// For example, MinValue is 0, MaxValue is 100, and DiscreteValue is 20.
         /// Then, the thumb can only go to 0, 20, 40, 60, 80, and 100.
         /// The default is 0.
-        /// </summary>
+        /// </remarks>
         /// <since_tizen> 9 </since_tizen>
         public float DiscreteValue
         {
index 80f5dd7..e8773b7 100755 (executable)
@@ -1290,14 +1290,19 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
+        /// The expanded touch area.
         /// TouchArea can expand the view's touchable area.<br/>
         /// If you set the TouchAreaOffset on an view, when you touch the view, the touch area is used rather than the size of the view.<br/>
+        /// </summary>
+        /// <remarks>
         /// This is based on the top left x, y coordinates.<br/>
-        /// example) <br/>
-        ///  view.Size = new Size(100, 100);<br/>
-        ///  view.TouchAreaOffset = new Offset(-10, 20, 30, -40); // left, right, bottom, top <br/>
-        /// then touch area is 130x170.<br/>
-        /// this is view.width + TouchAreaOffset.right - TouchAreaOffset.left and view.height + TouchAreaOffset.bottom - TouchAreaOffset.top <br/>
+        /// For example) <br/>
+        /// <code>
+        ///  view.Size = new Size(100, 100);
+        ///  view.TouchAreaOffset = new Offset(-10, 20, 30, -40); // left, right, bottom, top
+        /// </code>
+        /// Then, touch area is 130x170.<br/>
+        /// This is view.width + TouchAreaOffset.right - TouchAreaOffset.left and view.height + TouchAreaOffset.bottom - TouchAreaOffset.top <br/>
         /// +---------------------+ <br/>
         /// |         ^           | <br/>
         /// |         |           | <br/>
@@ -1307,7 +1312,7 @@ namespace Tizen.NUI.BaseComponents
         /// |    +----+----+      | <br/>
         /// |    |         |      | <br/>
         /// | -10|         | 20   | <br/>
-        /// |<---+         +----->| <br/>
+        /// |&lt;---+         +-----&gt;| <br/>
         /// |    |         |      | <br/>
         /// |    |         |      | <br/>
         /// |    +----+----+      | <br/>
@@ -1316,7 +1321,7 @@ namespace Tizen.NUI.BaseComponents
         /// |         |           | <br/>
         /// |         v           | <br/>
         /// +---------------------+ <br/>
-        /// </summary>
+        /// </remarks>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Offset TouchAreaOffset
         {