Created
August 2, 2020 13:38
-
-
Save sjehutch/822935cf86773c648757512faad8b24e to your computer and use it in GitHub Desktop.
Basic Getter Setter Xamarin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private string _fullname; | |
public string FullName | |
{ | |
protected set | |
{ | |
if (_fullname != value) | |
{ | |
_fullname = value; | |
OnPropertyChanged("FullName"); | |
} | |
} | |
get { return _fullname; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment