Example #1
0
 protected override void OnAttachedTo(Picker bindable)
 {
     base.OnAttachedTo(bindable);
     viewModel = bindable.FindByName <Grid>("_Grid").BindingContext as FunctionsLibraryViewModel;
     bindable.SelectedIndexChanged += Bindable_SelectedIndexChanged;
 }
 public ComputeCommand(FunctionsLibraryViewModel _viewModel)
 {
     viewModel = _viewModel;
     calcData  = viewModel._CalcData;
 }