From: wenxuan.gu Date: Mon, 19 Jun 2017 08:15:52 +0000 (+0800) Subject: add API comments for Panes and Scroller X-Git-Tag: submit/trunk/20170823.075128~110^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c29143c4f2f4a6845b9d657185410620ef8fb72;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git add API comments for Panes and Scroller Change-Id: I326bad4050a792c0a885b3a18a172c7564d5085b --- diff --git a/src/ElmSharp/ElmSharp/Panes.cs b/src/ElmSharp/ElmSharp/Panes.cs index db8b850..ec6c861 100755 --- a/src/ElmSharp/ElmSharp/Panes.cs +++ b/src/ElmSharp/ElmSharp/Panes.cs @@ -109,6 +109,11 @@ namespace ElmSharp } } + /// + /// Sets or gets the absolute minimum size of panes widget's left side. + /// If displayed vertically, left content is displayed at top. + /// value representing minimum size of left side in pixels. + /// public int LeftMinimumSize { get @@ -121,6 +126,12 @@ namespace ElmSharp } } + /// + /// Sets or gets the relative minimum size of panes widget's left side. + /// proportion of minimum size of left side. + /// If displayed vertically, left content is displayed at top. + /// value between 0.0 and 1.0 representing size proportion of minimum size of left side. + /// public double LeftMinimumRelativeSize { get @@ -133,6 +144,11 @@ namespace ElmSharp } } + /// + /// Sets or gets the absolute minimum size of panes widget's right side. + /// If displayed vertically, right content is displayed at top. + /// value representing minimum size of right side in pixels. + /// public int RightMinimumSize { get @@ -145,6 +161,12 @@ namespace ElmSharp } } + /// + /// Sets or gets the relative minimum size of panes widget's right side. + /// proportion of minimum size of right side. + /// If displayed vertically, right content is displayed at top. + /// value between 0.0 and 1.0 representing size proportion of minimum size of right side. + /// public double RightMinimumRelativeSize { get diff --git a/src/ElmSharp/ElmSharp/Scroller.cs b/src/ElmSharp/ElmSharp/Scroller.cs old mode 100644 new mode 100755 index 6e5fd2c..2ceb38c --- a/src/ElmSharp/ElmSharp/Scroller.cs +++ b/src/ElmSharp/ElmSharp/Scroller.cs @@ -494,7 +494,7 @@ namespace ElmSharp } /// - /// Get a given scroller widget's scrolling page size, relative to its viewport size. + /// Gets or sets a given scroller widget's scrolling page size, relative to its viewport size. /// public double VerticalRelativePageSize { @@ -512,7 +512,7 @@ namespace ElmSharp } /// - /// Get a given scroller widget's scrolling page size, relative to its viewport size. + /// Gets or sets a given scroller widget's scrolling page size, relative to its viewport size. /// public double HorizontalRelativePageSize { @@ -532,6 +532,12 @@ namespace ElmSharp /// /// Gets or Sets the page snapping behavior of a scroller. /// + /// + /// When scrolling, if a scroller is paged (see VerticalRelativePageSize), + /// the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, + /// it will stop at the next page boundaries. This is disabled, by default, for both axis. + /// This function will set if it that is enabled or not, for each axis. + /// public bool VerticalSnap { get @@ -550,6 +556,12 @@ namespace ElmSharp /// /// Gets or Sets the page snapping behavior of a scroller. /// + /// + /// When scrolling, if a scroller is paged (see HorizontalRelativePageSize), + /// the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, + /// it will stop at the next page boundaries. This is disabled, by default, for both axis. + /// This function will set if it that is enabled or not, for each axis. + /// public bool HorizontalSnap { get