C# Class SourceWriter.TemplateViewController

The SourceWriter.TemplateViewController handles the creation of a new document based on the user's selection.
Inheritance: NSViewController
Show file Open project: xamarin/mac-samples

Private Properties

Property Type Description
CancelNewDocument void
ChooseDocument void
ReleaseDesignerOutlets void
SelectCSharp void
SelectHTML void
SelectMarkDown void
SelectXML void

Public Methods

Method Description
PrepareForSegue ( NSStoryboardSegue segue, NSObject sender ) : void

The method is called before a segue is launched so that it can be configured.

TemplateViewController ( IntPtr handle ) : System

Initializes a new instance of the SourceWriter.TemplateViewController class.

ViewWillAppear ( ) : void

This method is called before the View will be displayed to the screen.

Private Methods

Method Description
CancelNewDocument ( Foundation sender ) : void
ChooseDocument ( Foundation sender ) : void
ReleaseDesignerOutlets ( ) : void
SelectCSharp ( Foundation sender ) : void
SelectHTML ( Foundation sender ) : void
SelectMarkDown ( Foundation sender ) : void
SelectXML ( Foundation sender ) : void

Method Details

PrepareForSegue() public method

The method is called before a segue is launched so that it can be configured.
public PrepareForSegue ( NSStoryboardSegue segue, NSObject sender ) : void
segue NSStoryboardSegue The segue being started.
sender NSObject The object starting the segue.
return void

TemplateViewController() public method

Initializes a new instance of the SourceWriter.TemplateViewController class.
public TemplateViewController ( IntPtr handle ) : System
handle IntPtr Handle.
return System

ViewWillAppear() public method

This method is called before the View will be displayed to the screen.
public ViewWillAppear ( ) : void
return void