C# Class MvvmCross.Binding.Mac.Views.MvxTableViewSource

Inheritance: NSTableViewSource
Mostra file Open project: MvvmCross/MvvmCross

Private Properties

Property Type Description
GetOrCreateViewFor NSView
ReloadTableData void

Public Methods

Method Description
GetRowCount ( NSTableView tableView ) : nint
GetViewForItem ( NSTableView tableView, NSTableColumn tableColumn, nint row ) : NSView
MvxTableViewSource ( NSTableView tableView ) : System
SelectionDidChange ( NSNotification notification ) : void

Protected Methods

Method Description
CollectionChangedOnCollectionChanged ( object sender, NotifyCollectionChangedEventArgs args ) : void
CreateNSIndexSet ( int startingPosition, int count ) : NSIndexSet
TryDoAnimatedChange ( NotifyCollectionChangedEventArgs args ) : bool

Private Methods

Method Description
GetOrCreateViewFor ( NSTableView tableView, NSTableColumn tableColumn ) : NSView
ReloadTableData ( ) : void

Method Details

CollectionChangedOnCollectionChanged() protected method

protected CollectionChangedOnCollectionChanged ( object sender, NotifyCollectionChangedEventArgs args ) : void
sender object
args System.Collections.Specialized.NotifyCollectionChangedEventArgs
return void

CreateNSIndexSet() protected static method

protected static CreateNSIndexSet ( int startingPosition, int count ) : NSIndexSet
startingPosition int
count int
return NSIndexSet

GetRowCount() public method

public GetRowCount ( NSTableView tableView ) : nint
tableView NSTableView
return nint

GetViewForItem() public method

public GetViewForItem ( NSTableView tableView, NSTableColumn tableColumn, nint row ) : NSView
tableView NSTableView
tableColumn NSTableColumn
row nint
return NSView

MvxTableViewSource() public method

public MvxTableViewSource ( NSTableView tableView ) : System
tableView NSTableView
return System

SelectionDidChange() public method

public SelectionDidChange ( NSNotification notification ) : void
notification NSNotification
return void

TryDoAnimatedChange() protected method

protected TryDoAnimatedChange ( NotifyCollectionChangedEventArgs args ) : bool
args System.Collections.Specialized.NotifyCollectionChangedEventArgs
return bool