Skip to content

Instantly share code, notes, and snippets.

@worldbeater
Last active March 11, 2018 12:59
Show Gist options
  • Save worldbeater/c83a4631ebf4e7ad071b0d80af10911b to your computer and use it in GitHub Desktop.
Save worldbeater/c83a4631ebf4e7ad071b0d80af10911b to your computer and use it in GitHub Desktop.
<StackLayout Margin="20">
<Entry Text="{Binding Title, Mode=TwoWay}" Placeholder="Title"/>
<StackLayout Orientation="Horizontal">
<Label Text="{Binding TitleLength, Mode=OneWay}"/>
<Label Text="letters used from"/>
<Label Text="{Binding TitleLengthMax, Mode=OneWay}"/>
</StackLayout>
<Entry Text="{Binding Message, Mode=TwoWay}" Placeholder="Message"/>
<StackLayout Orientation="Horizontal">
<Label Text="{Binding MessageLength, Mode=OneWay}"/>
<Label Text="letters used from"/>
<Label Text="{Binding MessageLengthMax, Mode=OneWay}"/>
</StackLayout>
<Picker SelectedIndex="{Binding Section, Mode=TwoWay}">
<Picker.Items>
<x:String>User Interface</x:String>
<x:String>Audio</x:String>
<x:String>Video</x:String>
<x:String>Voice</x:String>
</Picker.Items>
</Picker>
<StackLayout Orientation="Horizontal">
<Switch IsToggled="{Binding Idea, Mode=TwoWay}"/>
<Label Text="Suggestion"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Switch IsToggled="{Binding Issue, Mode=TwoWay}"/>
<Label Text="Issue"/>
</StackLayout>
<Button Text="Send Feedback" Command="{Binding Submit}"/>
</StackLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment