From ea8d8e0391c7425ab19d0515fed209776d02dfdc Mon Sep 17 00:00:00 2001 From: David Britch Date: Mon, 11 Jan 2021 12:58:58 +0000 Subject: [PATCH 1/2] Use RadioButtonGroup AP. --- .../RadioButtonDemos/GroupedRadioButtonsPageCode.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UserInterface/RadioButtonDemos/RadioButtonDemos/GroupedRadioButtonsPageCode.cs b/UserInterface/RadioButtonDemos/RadioButtonDemos/GroupedRadioButtonsPageCode.cs index 0a3e3946ae..0242c43e1d 100644 --- a/UserInterface/RadioButtonDemos/RadioButtonDemos/GroupedRadioButtonsPageCode.cs +++ b/UserInterface/RadioButtonDemos/RadioButtonDemos/GroupedRadioButtonsPageCode.cs @@ -35,8 +35,8 @@ public GroupedRadioButtonsPageCode() Children = { appleRadioButton, bananaRadioButton, pineappleRadioButton, otherFruitRadioButton } }; - // All of the RadioButtons in this StackLayout will automatically be given the GroupName 'fruits`. - fruitStackLayout.SetValue(RadioButtonGroup.GroupNameProperty, "fruits"); + // All of the RadioButtons in this StackLayout will automatically be given the GroupName 'fruits'. + RadioButtonGroup.SetGroupName(fruitStackLayout, "fruits"); Title = "Grouped RadioButtons demo (code)"; Content = new StackLayout From 5b5cba9ae57b0f03211b00c240335dd6e474b76c Mon Sep 17 00:00:00 2001 From: David Britch Date: Tue, 12 Jan 2021 14:19:30 +0000 Subject: [PATCH 2/2] Add FlyoutContent example. --- UserInterface/Xaminals/Xaminals/AppShell.xaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/UserInterface/Xaminals/Xaminals/AppShell.xaml b/UserInterface/Xaminals/Xaminals/AppShell.xaml index 685e09308c..8e4e3e0d99 100644 --- a/UserInterface/Xaminals/Xaminals/AppShell.xaml +++ b/UserInterface/Xaminals/Xaminals/AppShell.xaml @@ -5,6 +5,7 @@ xmlns:sys="clr-namespace:System;assembly=netstandard" xmlns:views="clr-namespace:Xaminals.Views" x:Class="Xaminals.AppShell" + x:Name="shell" FlyoutBackgroundImage="photo.jpg" FlyoutBackgroundImageAspect="AspectFill" FlyoutHeaderBehavior="CollapseOnScroll"> @@ -98,6 +99,40 @@ --> + + + + + + + +