C# Class MacInspector.InspectorViewController

Show file Open project: xamarin/mac-samples

Private Properties

Property Type Description
ReleaseDesignerOutlets void

Public Methods

Method Description
ClearInspectorPanel ( ) : void

Removes the current Inspector Panel (View Controller) from the screen.

InspectorViewController ( IntPtr handle ) : System

Initializes a new instance of the T:MacInspector.InspectorViewController class.

PrepareForSegue ( NSStoryboardSegue segue, NSObject sender ) : void

Called before a segue is launched to allow you to configure the new view controller that will be displayed.

SetInspectorPanel ( NSViewController panel ) : void

Sets the inspector panel.

If the panel is null, the current panel is removed from the screen.

ShowBoxInspector ( CustomBox box ) : void

Shows the box inspector.

ShowDocumentInspector ( DocumentProperties properties ) : void

Shows the document inspector.

Private Methods

Method Description
ReleaseDesignerOutlets ( ) : void

Method Details

ClearInspectorPanel() public method

Removes the current Inspector Panel (View Controller) from the screen.
public ClearInspectorPanel ( ) : void
return void

InspectorViewController() public method

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

PrepareForSegue() public method

Called before a segue is launched to allow you to configure the new view controller that will be displayed.
public PrepareForSegue ( NSStoryboardSegue segue, NSObject sender ) : void
segue NSStoryboardSegue The Segue that is about to be launched.
sender NSObject The View Controller that is launching the segue.
return void

SetInspectorPanel() public method

Sets the inspector panel.
If the panel is null, the current panel is removed from the screen.
public SetInspectorPanel ( NSViewController panel ) : void
panel NSViewController The new Inspector Panel (View Controller) to display.
return void

ShowBoxInspector() public method

Shows the box inspector.
public ShowBoxInspector ( CustomBox box ) : void
box CustomBox The being displayed/edited.
return void

ShowDocumentInspector() public method

Shows the document inspector.
public ShowDocumentInspector ( DocumentProperties properties ) : void
properties DocumentProperties The being displayed/edited.
return void