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 SourceCloseView
Gets the delegate command for closing a view.
Declaration
DelegateCommand<string> CloseView { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<System.String> |
DockView
Gets the delegate command for docking a view.
Declaration
DelegateCommand<string> DockView { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<System.String> |
UndockView
Gets the delegate command for undocking a view.
Declaration
DelegateCommand<string> UndockView { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<System.String> |
Methods
View SourceGetUndockedView(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 |
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 |
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. |
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. |
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 |
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 |