summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/GalleryPages/ProgressBarGallery.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls/GalleryPages/ProgressBarGallery.cs')
-rw-r--r--Xamarin.Forms.Controls/GalleryPages/ProgressBarGallery.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls/GalleryPages/ProgressBarGallery.cs b/Xamarin.Forms.Controls/GalleryPages/ProgressBarGallery.cs
new file mode 100644
index 00000000..3190a3cf
--- /dev/null
+++ b/Xamarin.Forms.Controls/GalleryPages/ProgressBarGallery.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Xamarin.Forms.Controls
+{
+ public class ProgressBarGallery : ContentPage
+ {
+ readonly StackLayout _stack;
+
+ public ProgressBarGallery ()
+ {
+ _stack = new StackLayout ();
+
+ var normal = new ProgressBar {
+ Progress = 0.24
+ };
+
+ Content = _stack;
+
+ _stack.Children.Add (normal);
+ }
+ }
+}