diff options
Diffstat (limited to 'Xamarin.Forms.Controls/GalleryPages/MinimumSizeGallery.cs')
-rw-r--r-- | Xamarin.Forms.Controls/GalleryPages/MinimumSizeGallery.cs | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls/GalleryPages/MinimumSizeGallery.cs b/Xamarin.Forms.Controls/GalleryPages/MinimumSizeGallery.cs new file mode 100644 index 00000000..1ad90574 --- /dev/null +++ b/Xamarin.Forms.Controls/GalleryPages/MinimumSizeGallery.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Xamarin.Forms.Controls +{ + public class MinimumSizeGallery : ContentPage + { + public MinimumSizeGallery () + { + Content = new StackLayout { + Children = { + new Button { Text = "Big Button", HeightRequest = 300 }, + new TableView { + Intent = TableIntent.Settings, + Root = new TableRoot { + new TableSection ("SECTION 1") { + new TextCell { Text = "Cell 1", Detail = "Red Text", TextColor = Color.Red }, + new TextCell { Text = "Detail Red", Detail = "Detail", DetailColor = Color.Red }, + new TextCell { Text = "Cell 3" }, + new TextCell { Text = "Cell 4" } + }, + new TableSection ("Section 2") { + new TextCell { Text = "Cell 1" }, + new TextCell { Text = "Cell 2" }, + new TextCell { Text = "Cell 3" }, + new TextCell { Text = "Cell 4" } + }, + new TableSection ("Section 3") { + new TextCell { Text = "Cell 1" }, + new TextCell { Text = "Cell 2" }, + new TextCell { Text = "Cell 3" }, + new TextCell { Text = "Cell 4" } + }, + new TableSection ("Section 4") { + new TextCell { Text = "Cell 1" }, + new TextCell { Text = "Cell 2" }, + new TextCell { Text = "Cell 3" }, + new TextCell { Text = "Cell 4 Last" } + } + } + } + } + }; + } + } +} |