Share via


UITableView.DataSource Property

Definition

The object that acts as the data source for the table view.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public UIKit.IUITableViewDataSource DataSource { get; set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.DataSource : UIKit.IUITableViewDataSource with get, set

Property Value

This value can be null.

Attributes

Remarks

The data source must subclass UITableViewDataSource. MonoTouch provides an alternative to implementing both UITableViewDataSource and UITableViewDelegate: the UITableViewSource class which should be assigned to Source.

Applies to