Example #1
0
 private void SetupBindings()
 {
     nameLabel.SetBinding <User> (Label.TextProperty, user => user.Name);
     profilePhoto.SetBinding <User> (Image.SourceProperty, user => user.ProfileImage);
 }
Example #2
0
 private void SetupBindings()
 {
     nameLabel.SetBinding <Moment> (Label.TextProperty, a => a.SenderName);
     timestampLabel.SetBinding <Moment> (Label.TextProperty, a => a.HumanizedTimeSent);
     profilePhoto.SetBinding <Moment> (Image.SourceProperty, a => a.SenderProfileImage);
 }
Example #3
0
 private void SetupBindings()
 {
     nameLabel.SetBinding(Label.TextProperty, nameof(User.Name));
     profilePhoto.SetBinding(Image.SourceProperty, nameof(User.ProfileImage));
 }
Example #4
0
 private void SetupBindings()
 {
     nameLabel.SetBinding(Label.TextProperty, nameof(Moment.SenderName));
     timestampLabel.SetBinding(Label.TextProperty, nameof(Moment.HumanizedTimeSent));
     profilePhoto.SetBinding(Image.SourceProperty, nameof(Moment.SenderProfileImage));
 }