Пример #1
0
 public GettingStartedSample()
 {
     InitializeComponent();
     Source1                     = new ContactsInfoRepository().GetSizeDetails();
     Source2                     = new ContactsInfoRepository().GetResolutionDetails();
     Source3                     = new ContactsInfoRepository().GetOrientationDetails();
     this.BindingContext         = this;
     optionLayout.BindingContext = this;
     PickerMethod();
 }
 public GettingStartedSample()
 {
     InitializeComponent();
     if (Device.RuntimePlatform == Device.UWP || Device.RuntimePlatform == Device.WPF)
     {
         layoutRoot.HorizontalOptions = LayoutOptions.Center;
         layoutRoot.WidthRequest      = 300;
     }
     Source1                     = new ContactsInfoRepository().GetSizeDetails();
     Source2                     = new ContactsInfoRepository().GetResolutionDetails();
     Source3                     = new ContactsInfoRepository().GetOrientationDetails();
     this.BindingContext         = this;
     optionLayout.BindingContext = this;
     PickerMethod();
 }