Skip to content

Instantly share code, notes, and snippets.

@deapsquatter
Last active December 24, 2015 09:39
Show Gist options
  • Save deapsquatter/6778696 to your computer and use it in GitHub Desktop.
Save deapsquatter/6778696 to your computer and use it in GitHub Desktop.
Binding a NSTableViewSource
var source = new CsTableViewSource (myNSTableView);
var binding = this.CreateBindingSet<TaskManagerViewController, TaskManagerVM> ();
binding.Bind (source).For ((s) => s.ItemsSource).To ((vm) => vm.MyEnumerable);
binding.Apply ();
myNSTableView.Source = source;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment