Click here to Skip to main content
15,897,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
im korean.. dont speak english well.. sorry.

I have wondering about mvvm property in mathod

Property is like Global variable in class.

but at OOP, variable is in mathod..

because of Capsulation.

How do you use Property in mvvm?
Posted
Comments
TheRealSteveJudge 16-Mar-15 6:45am    
Maybe this can be helpful:
http://www.tutorialspoint.com/csharp/csharp_properties.htm

1 solution

The comment was about C# properties in general.
When using MVVM "OnPropertyChanged" must be used to update data binding
for the property.

This article can give you an idea how to deal with MVVM properties:
MVVM Pattern Made Simple[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900