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