Find Jobs
Hire Freelancers

MVVM pass/bind value form ViewModel to ViewModel of parent View without using constructor

$10-30 USD

Closed
Posted over 3 years ago

$10-30 USD

Paid on delivery
I've a shared core project(contains ViewModels) between WPF and [login to view URL] apps(each one contain it's views and interface implementations) It's a .NetStandard class library using Prism.Core. In this Project I've tow ViewModels for two views: TabItem=TabItemViewModel, BrowserView=BrowserViewModel <TabItem xmlns="[login to view URL]" ............. prism:ViewModelLocator.AutoWireViewModel="True" Header="{Binding Name}"> <local:BrowserView /> <TabItem> public class TabItemViewModel : INotifyPropertyChanged { public string Url {get; set} // shortened for clarity // ..... } public class BrowserViewModel: INotifyPropertyChanged { public string Url {get; set} // shortened for clarity // ..... } How to pass the url between the two ViewModels?? The app is browser like with multiple tab instances. I don't want and I can't use the viewmodel constructor like new viewmodel(url) for business logic considrations. I've read suggestion to use dependency property, but I can't define it in the viewmodel as it requires using [login to view URL]; and the viewmodel only uses .netstandard and prism.core. other suggestions to define dependancy property in the code behind [login to view URL] but I could not get it working. I need to sync multiple properties not only url. I need working sample code
Project ID: 28808550

About the project

5 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $35 USD for this job
User Avatar
hi, greetings for the day. I have more than 8 years experience in Microsoft technologies including xamarin forms cross platform mobile apps, MVC, asp.net core, c#, javascript, jQuery, SQL server and other databases. let's discuss the details and set a roadmap for delivering the project real soon. thanks
$61 USD in 2 days
5.0 (6 reviews)
4.3
4.3
User Avatar
Hi, I have a lot of experience in - C ++ - FROM# - Java - JavaScript - C# - WPF - WinForms - Designed Patterns If you need quality work, then contact me, I'm happy to take on this project!)
$35 USD in 1 day
5.0 (1 review)
0.3
0.3
User Avatar
I have over 9 years of experience developing window, web and mobile using C#.Have experience in WPF, Asp.net core, Xamarin developing enterprise financial healthcare products
$17 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of EGYPT
Sers El Lian, Egypt
5.0
5
Payment method verified
Member since Nov 1, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.