Düzenle

Aracılığıyla paylaş


DialogViewController.CreateSizingSource(Boolean) Method

Definition

Method invoked by the DialogViewController to create its UITableViewSource.

public virtual MonoTouch.Dialog.DialogViewController.Source CreateSizingSource (bool unevenRows);
abstract member CreateSizingSource : bool -> MonoTouch.Dialog.DialogViewController.Source
override this.CreateSizingSource : bool -> MonoTouch.Dialog.DialogViewController.Source

Parameters

unevenRows
Boolean

Whether the Source object should support rows with different sizes. If true, the returned object should override the UITableViewSource.GetHeightForRow.

Returns

Remarks

This is a virtual method that subclasses of DialogViewController can override to create their own versions of the DialogViewController.Source object (which is merely a subclass of T:MonoTouch.UIKit.UITableViewSource.

If the value of unevenRows is true, the resulting source should override the GetHeightForRow method as the DialogViewController has determined that there will be rows with different sizes

Applies to