private void SetupBindings() { nameLabel.SetBinding <User> (Label.TextProperty, user => user.Name); profilePhoto.SetBinding <User> (Image.SourceProperty, user => user.ProfileImage); }
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); }
private void SetupBindings() { nameLabel.SetBinding(Label.TextProperty, nameof(User.Name)); profilePhoto.SetBinding(Image.SourceProperty, nameof(User.ProfileImage)); }
private void SetupBindings() { nameLabel.SetBinding(Label.TextProperty, nameof(Moment.SenderName)); timestampLabel.SetBinding(Label.TextProperty, nameof(Moment.HumanizedTimeSent)); profilePhoto.SetBinding(Image.SourceProperty, nameof(Moment.SenderProfileImage)); }