Xamarin.Mac - NSTableView / NSOutlineView
This quick start guide will walk you through the programmatic creation of and
use of NSTableView
/NSOutlineView
with Xamarin.Mac.
These views often give beginners trouble, as they require knowledge of the
delegate/data source pattern and their APIs have both
Cell
and View
based variants.
This example assumes familiarity with the following documentation:
The two examples are for:
NSTableView
is a control for displaying tabular data with multiple rows and one or more columns. Apple's NSTableView docNSOutlineView
is a control for displaying hierarchal data in a tree like format. Apple's NSOutlineView doc
This example uses the NSView
APIs, as they are preferred in new applications.
Start by looking at AppDelegate.cs