Show / Hide Table of Contents

Interface IWindowingControl

Interface that exposes windowing commands to the shell and tool windows.

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

Properties

View Source

CloseView

Gets the delegate command for closing a view.

Declaration
DelegateCommand<string> CloseView { get; }
Property Value
Type Description
DelegateCommand<System.String>
View Source

DockView

Gets the delegate command for docking a view.

Declaration
DelegateCommand<string> DockView { get; }
Property Value
Type Description
DelegateCommand<System.String>
View Source

UndockView

Gets the delegate command for undocking a view.

Declaration
DelegateCommand<string> UndockView { get; }
Property Value
Type Description
DelegateCommand<System.String>

Methods

View Source

GetUndockedView(String)

Attempts to get the view if undocked. Returns null if this view isn't undocked.

Declaration
Window GetUndockedView(string viewHeaderName)
Parameters
Type Name Description
System.String viewHeaderName

The name of the view to check.

Returns
Type Description
System.Windows.Window

Window

View Source

IsViewDocked(String)

Determines if the provided view is actually docked.

Declaration
bool IsViewDocked(string view)
Parameters
Type Name Description
System.String view

The name of the view to check.

Returns
Type Description
System.Boolean

bool

View Source

MoveViewToViewIndex(String, Int32)

Moves the view to a new index in the tab control.

Declaration
void MoveViewToViewIndex(string moveView, int newIndex)
Parameters
Type Name Description
System.String moveView

The name of the view to move.

System.Int32 newIndex

The new index to move the view to.

View Source

MoveViewToViewIndex(String, String)

Swaps the two views index in the tab control.

Declaration
void MoveViewToViewIndex(string moveView, string secondView)
Parameters
Type Name Description
System.String moveView

The name of the view to move.

System.String secondView

The name of view to move the other view to.

View Source

SaveDevicePanelSettings(Boolean, Double)

Saves the device panel settings when updated.

Declaration
void SaveDevicePanelSettings(bool isCollapsed, double panelWidth)
Parameters
Type Name Description
System.Boolean isCollapsed

If the panel is collapsed

System.Double panelWidth

width of the panel

View Source

SaveOutputPanelSettings(Boolean, Double)

Saves the output panel settings when updated.

Declaration
void SaveOutputPanelSettings(bool isCollapsed, double panelHeight)
Parameters
Type Name Description
System.Boolean isCollapsed

whether the panel is collapsed

System.Double panelHeight

height of the panel

  • View Source
In This Article
Back to top Generated by DocFX