sharee.bike-App/Meinkonrad/TINK/View/MiniSurvey/MiniSurveyPage.xaml

34 lines
1.3 KiB
Text
Raw Permalink Normal View History

2021-11-07 19:42:59 +01:00
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local_minisurvey="clr-namespace:TINK.View.MiniSurvey.Question"
x:Class="TINK.View.MiniSurvey.MiniSurveyPage">
<ContentPage.Resources>
<ResourceDictionary>
<local_minisurvey:QuestionViewCellTemplateSelector x:Key="questionViewCellTemplateSelector"/>
</ResourceDictionary>
</ContentPage.Resources>
<ContentPage.Content>
<Frame>
<StackLayout>
<Label
FontSize="Large"
FontAttributes="Bold"
Text="{Binding Title}"/>
<Label
Text="{Binding Subtitle}"/>
<ListView
x:Name="MiniSurveyListView"
HasUnevenRows="True"
ItemTemplate="{StaticResource questionViewCellTemplateSelector}">
</ListView>
<Label
Text="{Binding Footer}"/>
<Button
IsEnabled="False"
Command="{Binding OnButtonClicked}"
Text="OK"/>
</StackLayout>
</Frame>
</ContentPage.Content>
</ContentPage>