DataCollection | ComponentOne
C1.Mac.DataCollection Assembly / C1.Mac.DataCollection Namespace / NSTableViewEx Class / SetItemsSource Method
The table view.
The items source.
if set to true automatically generate the columns from the source properties.

In This Topic
    SetItemsSource Method (NSTableViewEx)
    In This Topic
    Sets the items source of a AppKit.NSTableView and additionally indicates whether to generate the columns from the source.
    Syntax
    'Declaration
     
    Public Shared Sub SetItemsSource( _
       ByVal tableView As AppKit.NSTableView, _
       ByVal itemsSource As IEnumerable, _
       Optional ByVal autoGenerateColumns As Boolean _
    ) 
    public static void SetItemsSource( 
       AppKit.NSTableView tableView,
       IEnumerable itemsSource,
       bool autoGenerateColumns
    )

    Parameters

    tableView
    The table view.
    itemsSource
    The items source.
    autoGenerateColumns
    if set to true automatically generate the columns from the source properties.
    See Also