Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Model:
- public Class ActionDuengen {
- public ActionDuengen() {}
- ...
- public string Name {get; set; }
- [OneToOne]
- public ActionBuchung Buchung {get; set;}
- }
- public Class ActionBuchung {
- public ActionBuchung() {}
- ...
- public string Datum {get; set; }
- }
- View:
- ...
- DuengenAction = new ActionDuengen();
- BuchungsAction = new ActionBuchung();
- DuengenAction.Buchung = Buchungsaction;
- this.BindingContext = DuengenAction;
- ...
- var datumLabel = new Label { Text = "Datum"};
- Entry datumEntry = new Entry();
- datumEntry.SetBinding(Entry.Textproperty, "Buchung.Datum");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement