Show / Hide Table of Contents

Interface IPhoenixShell

Exposes the top level shell window to track closing and closed events.

Namespace: Phoenix.Views
Assembly: Phoenix.Abstractions.Views.dll
Syntax
public interface IPhoenixShell

Properties

View Source

DeviceManagementRegion

Gets the ContentControl that is hosting device management window

Declaration
ContentControl DeviceManagementRegion { get; }
Property Value
Type Description
System.Windows.Controls.ContentControl
View Source

DocumentsRegion

Gets the TabControl that is hosting our documents windows

Declaration
TabControl DocumentsRegion { get; }
Property Value
Type Description
System.Windows.Controls.TabControl
View Source

Menu

Gets the MenuItem to put view commands in

Declaration
MenuItem Menu { get; }
Property Value
Type Description
System.Windows.Controls.MenuItem
View Source

OutputRegion

Gets the ContentControl that is hosting our logging window

Declaration
ContentControl OutputRegion { get; }
Property Value
Type Description
System.Windows.Controls.ContentControl
View Source

WindowingControl

Gets or sets the IWindowingControl object for binding windowing commands

Declaration
IWindowingControl WindowingControl { get; set; }
Property Value
Type Description
IWindowingControl

Methods

View Source

ExitShell(Boolean)

Exits the shell manually, firing all the related events from closing.

Declaration
void ExitShell(bool force)
Parameters
Type Name Description
System.Boolean force

when true, the OnClosing events will not fire.

View Source

LoadPanelSettings(Boolean, Double, Boolean, Double)

Load panel settings into the shell so that it reflects its saved state.

Declaration
void LoadPanelSettings(bool isDeviceCollapsed, double deviceWidth, bool isOutputCollapsed, double outputHeight)
Parameters
Type Name Description
System.Boolean isDeviceCollapsed

When true, collapses device panel on startup.

System.Double deviceWidth

Sets the width of the device panel on startup.

System.Boolean isOutputCollapsed

When true, collapses output panel on startup.

System.Double outputHeight

Sets the height of the output panel on startup.

Events

View Source

Closed

Occurs when the window is about to close.

Declaration
event EventHandler Closed
Event Type
Type Description
System.EventHandler
View Source

Closing

Occurs directly after System.Windows.Window.Close() is called, and can be handled to cancel window closure.

Declaration
event CancelEventHandler Closing
Event Type
Type Description
System.ComponentModel.CancelEventHandler
  • View Source
In This Article
Back to top Generated by DocFX