コード例 #1
0
ファイル: NexusPage.cs プロジェクト: kflo/phylo
 public NexusPage()
 {
     ScrollView scrollView = new ScrollView();
        StackLayout stackLayout = new StackLayout { Orientation = StackOrientation.Vertical, Padding = new Thickness(10, 10), HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand };
        NexusWriter nw = new NexusWriter(Application.TaxaList);
        stackLayout.Children.Add(nw.WriteToFile());
        scrollView.Content = stackLayout;
        Content = scrollView;
 }
コード例 #2
0
        public NexusPage()
        {
            ScrollView  scrollView  = new ScrollView();
            StackLayout stackLayout = new StackLayout {
                Orientation = StackOrientation.Vertical, Padding = new Thickness(10, 10), HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand
            };
            NexusWriter nw = new NexusWriter(Application.TaxaList);

            stackLayout.Children.Add(nw.WriteToFile());
            scrollView.Content = stackLayout;
            Content            = scrollView;
        }