C# Class tvTable.AttractionViewController

Controls the AttractionView used to present the detailed information about a AttractionInformation object attached to the highlighted Row in the AttractionTableView.
Inheritance: UIViewController
ファイルを表示 Open project: xamarin/monotouch-samples

Public Methods

Method Description
AttractionViewController ( IntPtr handle ) : System

Initializes a new instance of the T:tvTable.AttractionViewController class.

UpdateUI ( ) : void

Updates the user interface by populating the fields of the AttractionView.

ViewWillAppear ( bool animated ) : void

Called before the View is presented to the user to allow it to be configured.

Private Methods

Method Description
BookFlight ( NSObject sender ) : void

Handles the user clicking the Flight button.

GetDirections ( NSObject sender ) : void

Handles the user clicking the Directions button.

MarkFavorite ( NSObject sender ) : void

Handles the user clicking the Favorites button.

Method Details

AttractionViewController() public method

Initializes a new instance of the T:tvTable.AttractionViewController class.
public AttractionViewController ( IntPtr handle ) : System
handle System.IntPtr Handle.
return System

UpdateUI() public method

Updates the user interface by populating the fields of the AttractionView.
public UpdateUI ( ) : void
return void

ViewWillAppear() public method

Called before the View is presented to the user to allow it to be configured.
public ViewWillAppear ( bool animated ) : void
animated bool true if animated, else false.
return void