Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Xamarin.Forms;
- namespace DrilldownListViewDemoVS
- {
- class DetailPage : ContentPage
- {
- public DetailPage(ListItem item)
- {
- Label titleLabel = new Label
- {
- Text = item.Title,
- FontSize = 40
- };
- Label descriptionLabel = new Label
- {
- Text = item.Description,
- FontSize = 40
- };
- var stackLayout = new StackLayout
- {
- Children = { titleLabel, descriptionLabel }
- };
- this.Content = stackLayout;
- }
- }
- }
Add Comment
Please, Sign In to add comment