示例#1
0
 public FindAndReplaceCommand(FindAndReplaceViewModel viewModel)
 {
     findAndReplaceViewModel = viewModel;
 }
示例#2
0
 protected override void OnAttachedTo(Picker bindable)
 {
     base.OnAttachedTo(bindable);
     viewModel = bindable.FindByName <StackLayout>("Layout").BindingContext as FindAndReplaceViewModel;
     bindable.SelectedIndexChanged += Bindable_SelectedIndexChanged;
 }