From adbdef54b9d4c39cd7422fd0c2f7866603418f90 Mon Sep 17 00:00:00 2001 From: "sung-su.kim" Date: Mon, 27 Mar 2017 13:34:06 +0900 Subject: [PATCH] Update description of FloatingButton Change-Id: I5828a9b3528398f221133ea23d56fefebe21916d --- Tizen.Xamarin.Forms.Extension/FloatingButton.cs | 18 +++++++++--------- Tizen.Xamarin.Forms.Extension/FloatingButtonItem.cs | 6 +++--- .../FloatingButtonMovablePosition.cs | 8 ++++---- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Tizen.Xamarin.Forms.Extension/FloatingButton.cs b/Tizen.Xamarin.Forms.Extension/FloatingButton.cs index 88b21a1..17b5626 100644 --- a/Tizen.Xamarin.Forms.Extension/FloatingButton.cs +++ b/Tizen.Xamarin.Forms.Extension/FloatingButton.cs @@ -4,7 +4,7 @@ using Xamarin.Forms; namespace Tizen.Xamarin.Forms.Extension { /// - /// The FloatingButton class + /// The FloatingButton class. /// This is only supported for mobile profiles. /// /// @@ -53,7 +53,7 @@ namespace Tizen.Xamarin.Forms.Extension } /// - /// Gets the horizontal position of the FloatingButton. This is a bindable property + /// Gets the horizontal position of the FloatingButton. This is a bindable property. /// public FloatingButtonPosition Position { @@ -70,7 +70,7 @@ namespace Tizen.Xamarin.Forms.Extension } /// - /// Gets and sets the internal button of the FloatingButton + /// Gets and sets the internal button of the FloatingButton. /// public FloatingButtonItem FirstButton { @@ -79,7 +79,7 @@ namespace Tizen.Xamarin.Forms.Extension } /// - /// Gets and sets the internal button of the FloatingButton + /// Gets and sets the internal button of the FloatingButton. /// public FloatingButtonItem SecondButton { @@ -90,8 +90,8 @@ namespace Tizen.Xamarin.Forms.Extension /// /// Sets the horizontal position of the FloatingButton. /// - /// FloatingButtonPosition value - /// Bool value to set the animation when moving the position + /// The destination position of the FloatingButton. + /// Set the animation when moving the position. public void SetPosition(FloatingButtonPosition position, bool animated) { if (MovablePosition != FloatingButtonMovablePosition.None) @@ -101,7 +101,7 @@ namespace Tizen.Xamarin.Forms.Extension } /// - /// A method to hide the FloatingButton + /// A method to hide the FloatingButton. /// public void Hide() { @@ -110,7 +110,7 @@ namespace Tizen.Xamarin.Forms.Extension } /// - /// A method to show the FloatingButton + /// A method to show the FloatingButton. /// public void Show() { @@ -121,7 +121,7 @@ namespace Tizen.Xamarin.Forms.Extension public FloatingButton() { if (Device.Idiom != TargetIdiom.Phone) - throw new Exception("FloatingButton is support only mobile profile."); + throw new Exception("FloatingButton is only support mobile profiles."); _floatingButton = DependencyService.Get(DependencyFetchTarget.GlobalInstance); diff --git a/Tizen.Xamarin.Forms.Extension/FloatingButtonItem.cs b/Tizen.Xamarin.Forms.Extension/FloatingButtonItem.cs index 0a25f50..652c720 100644 --- a/Tizen.Xamarin.Forms.Extension/FloatingButtonItem.cs +++ b/Tizen.Xamarin.Forms.Extension/FloatingButtonItem.cs @@ -4,7 +4,7 @@ using Xamarin.Forms; namespace Tizen.Xamarin.Forms.Extension { /// - /// A class for containing icons and event information + /// The FloatingButtonItem class for containing icons and event information. /// public class FloatingButtonItem { @@ -15,7 +15,7 @@ namespace Tizen.Xamarin.Forms.Extension } /// - /// Gets or sets the Icon of the FloatingButtonItem + /// Gets or sets the Icon of the FloatingButtonItem. /// public FileImageSource Icon { @@ -24,7 +24,7 @@ namespace Tizen.Xamarin.Forms.Extension } /// - /// Occurs when the FloatingButtonItem clicked + /// Occurs when the FloatingButtonItem clicked. /// public event EventHandler Clicked; diff --git a/Tizen.Xamarin.Forms.Extension/FloatingButtonMovablePosition.cs b/Tizen.Xamarin.Forms.Extension/FloatingButtonMovablePosition.cs index ef9f67c..7dedc6b 100644 --- a/Tizen.Xamarin.Forms.Extension/FloatingButtonMovablePosition.cs +++ b/Tizen.Xamarin.Forms.Extension/FloatingButtonMovablePosition.cs @@ -9,22 +9,22 @@ namespace Tizen.Xamarin.Forms.Extension { /// - /// Enumerates values that describe the Mode of FloatingButton. + /// Enumerates values that describe the MovablePosition of FloatingButton. /// public enum FloatingButtonMovablePosition { /// - /// allows all positions + /// Allows the FloatingButton can be placed in all FloatingButtonPosition. /// All, /// - /// allows LEFT and RIGHT positions only + /// Allows the FloatingButton can be placed in only LEFT and RIGHT FloatingButtonPosition. /// LeftRightOnly, /// - /// movement blocked + /// Blocks movement of the FloatingButton. /// None, } -- 2.7.4