Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ListView x:Name="navigationDrawerList"
- RowHeight="65"
- SeparatorVisibility="Default"
- Footer=""
- BackgroundColor="White"
- ItemSelected="OnMenuItemSelected">
- <ListView.ItemTemplate>
- <DataTemplate>
- <custom:CustomViewCell SelectedItemBackgroundColor="White">
- <ViewCell.View>
- <!-- Main design for our menu items -->
- <StackLayout VerticalOptions="FillAndExpand"
- Orientation="Horizontal"
- Padding="20,10,0,10"
- Spacing="20">
- <Image Source="{Binding Icon}"
- WidthRequest="40"
- HeightRequest="40"
- VerticalOptions="Start" />
- <Label Text="{Binding Title}"
- FontSize="Small"
- VerticalOptions="Center"
- TextColor="Black"/>
- </StackLayout>
- </ViewCell.View>
- </custom:CustomViewCell>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
Add Comment
Please, Sign In to add comment