summaryrefslogtreecommitdiff
path: root/docs/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorMike Norman <mknorman@gmail.com>2016-06-09 12:54:53 -0500
committerSamantha Houts <samantha@teamredwall.com>2016-06-09 10:54:53 -0700
commit67511ed858719ce8906929f7900e9c1080cd48d9 (patch)
tree7cb42e6e26be92eaba0754131ea54c034e583e5b /docs/Xamarin.Forms.Core
parentce0238846a5aa9436d2d7a79682688511473f595 (diff)
downloadxamarin-forms-67511ed858719ce8906929f7900e9c1080cd48d9.tar.gz
xamarin-forms-67511ed858719ce8906929f7900e9c1080cd48d9.tar.bz2
xamarin-forms-67511ed858719ce8906929f7900e9c1080cd48d9.zip
Fixed code in Scrollview doc. Removed bug note in Easing. (#219)
Diffstat (limited to 'docs/Xamarin.Forms.Core')
-rw-r--r--docs/Xamarin.Forms.Core/Xamarin.Forms/Easing.xml5
-rw-r--r--docs/Xamarin.Forms.Core/Xamarin.Forms/ScrollView.xml19
2 files changed, 11 insertions, 13 deletions
diff --git a/docs/Xamarin.Forms.Core/Xamarin.Forms/Easing.xml b/docs/Xamarin.Forms.Core/Xamarin.Forms/Easing.xml
index ffd8b16f..5b0dbb80 100644
--- a/docs/Xamarin.Forms.Core/Xamarin.Forms/Easing.xml
+++ b/docs/Xamarin.Forms.Core/Xamarin.Forms/Easing.xml
@@ -179,12 +179,9 @@
<ReturnType>Xamarin.Forms.Easing</ReturnType>
</ReturnValue>
<Docs>
- <summary>Jumps towards, and then bounces as it settles at the final value. (Note: Known bug in 1.0.0 release)</summary>
+ <summary><para>Jumps towards, and then bounces as it settles at the final value.</para></summary>
<remarks>
- <para>NOTE: The 1.0.0. release of <see cref="F:Xamarin.Forms.Easing.BounceIn" /> has a known bug and runs backwards. The following graph shows the desired behavior, shortly to be released:</para>
- <para>
<img href="Easing.BounceIn.png" />
- </para>
</remarks>
</Docs>
</Member>
diff --git a/docs/Xamarin.Forms.Core/Xamarin.Forms/ScrollView.xml b/docs/Xamarin.Forms.Core/Xamarin.Forms/ScrollView.xml
index 9b93bd05..7f7fe4bb 100644
--- a/docs/Xamarin.Forms.Core/Xamarin.Forms/ScrollView.xml
+++ b/docs/Xamarin.Forms.Core/Xamarin.Forms/ScrollView.xml
@@ -34,16 +34,17 @@
<para> The following example shows the creation of a ScrollView with a large <see cref="T:Xamarin.Forms.StackLayout" /> in it.</para>
<example>
<code lang="C#"><![CDATA[
-StackLayout stack;
-var scrollview = new ScrollView {
- Content = new StackLayout {
- Padding = new Thickness (20),
- },
-};
+var stack = new StackLayout();
-for (var i=0; i<100; i++)
- stack.Children.Add (new Button { Text = "Foo"});
- ]]></code>
+for (int i = 0; i < 100; i++)
+{
+ stack.Children.Add(new Button { Text = "Button " + i });
+}
+
+MainPage = new ContentPage
+{
+ Content = new ScrollView { Content = stack }
+};]]></code>
</example>
<block type="note">Application developers should not nest one <see cref="T:Xamarin.Forms.ScrollView" /> within another. Additionally, they should refrain from nesting them other elements that can scroll, such as <see cref="T:Xamarin.Forms.WebView" />.</block>
<para>