Skip to content

Instantly share code, notes, and snippets.

@julesx
Last active January 27, 2016 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julesx/6cd23e5de299c4a5bbbe to your computer and use it in GitHub Desktop.
Save julesx/6cd23e5de299c4a5bbbe to your computer and use it in GitHub Desktop.
<Grid Padding="5,2,5,2" VerticalOptions="CenterAndExpand">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<ListView ItemsSource="{Binding ActionTypes}" Grid.Row="0">
<ListView.Header>
<Label Text="Action Type" TextColor="Accent" />
</ListView.Header>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ViewCell.View>
<controls:CheckBox DefaultText="{Binding ActionType}" HorizontalOptions="FillAndExpand" Checked="{Binding Checked}" />
</ViewCell.View>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
<ListView.Footer>
<Label />
</ListView.Footer>
</ListView>
<ListView ItemsSource="{Binding ActionPriorities}" Grid.Row="1">
<ListView.Header>
<Label Text="Action Priority" TextColor="Accent" />
</ListView.Header>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ViewCell.View>
<controls:CheckBox DefaultText="{Binding ActionPriority}" HorizontalOptions="FillAndExpand" Checked="{Binding Checked}" />
</ViewCell.View>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
<ListView.Footer>
<Label />
</ListView.Footer>
</ListView>
<ListView ItemsSource="{Binding ActionPrivacies}" Grid.Row="2">
<ListView.Header>
<Label Text="Action Privacy" TextColor="Accent" />
</ListView.Header>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ViewCell.View>
<controls:CheckBox DefaultText="{Binding ActionPrivacy}" Checked="{Binding Checked}" Grid.Row="2" />
</ViewCell.View>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
<ListView.Footer>
<Label />
</ListView.Footer>
</ListView>
</Grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment