UITableView.Source Property

Definition

Gets or sets a UITableViewSource subclass to act as both Delegate and DataSource.

public UIKit.UITableViewSource Source { get; set; }
public UIKit.UITableViewSource? Source { get; set; }
member this.Source : UIKit.UITableViewSource with get, set

Property Value

A class that can behave as both Delegate and DataSource for the table view.

Remarks

The UITableViewSource class is an alternative to implementing both UITableViewDataSource and UITableViewDelegate. If a subclass of UITableViewSource is created and assigned to this property, the DataSource and Delegate properties should not be set.

Applies to