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
Afficher le fichier Open project: xamarin/monotouch-samples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

UpdateUI() public méthode

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

ViewWillAppear() public méthode

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.
Résultat void