зеркало из https://github.com/xamarin/mac-samples.git
a6577adcdf | ||
---|---|---|
.. | ||
NSOutlineViewAndTableView | ||
Screenshots | ||
Metadata.xml | ||
NSOutlineViewAndTableView.sln | ||
README.md |
README.md
name | description | page_type | languages | products | urlFragment | ||
---|---|---|---|---|---|---|---|
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... | sample |
|
|
nsoutlineviewandtableview |
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 doc -
NSOutlineView
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