Materials is of type ObservableCollection<Material>, and I would like to bind the int ID of the SelectedItem (i.e Material.Id) to NewTransferFormLine.MaterialID, which is also an int. Is there a way to do this cast/conversion cleanly within avalonia or do I have to get into the setter and do it there?