Interface IVirtualDesktop
Represents a virtual desktop.
Assembly: WinMan.dll
Syntax
public interface IVirtualDesktop
Properties
|
Improve this Doc
View Source
Index
The numerical index of this desktop in the list of all desktops.
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsCurrent
Is this the current virtual desktop.
Declaration
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Name
The name of this desktop.
Declaration
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Workspace
Declaration
IWorkspace Workspace { get; }
Property Value
Methods
|
Improve this Doc
View Source
HasWindow(IWindow)
Checks if the desktop contains this window.
Declaration
bool HasWindow(IWindow window)
Parameters
Type |
Name |
Description |
IWindow |
window |
|
Returns
Type |
Description |
System.Boolean |
|
Exceptions
|
Improve this Doc
View Source
MoveWindow(IWindow)
Moves a window to this desktop.
Declaration
void MoveWindow(IWindow window)
Parameters
Type |
Name |
Description |
IWindow |
window |
|
Exceptions
|
Improve this Doc
View Source
Remove()
Removes this virtual desktop.
Declaration
Exceptions
|
Improve this Doc
View Source
SetName(String)
Sets the name of this virtual desktop.
Declaration
void SetName(string newName)
Parameters
Type |
Name |
Description |
System.String |
newName |
|
Exceptions
|
Improve this Doc
View Source
SwitchTo()
Switches to this virtual desktop.
Declaration
Exceptions
Events
|
Improve this Doc
View Source
Removed
Raised once the desktops has been removed from the workspace.
Declaration
event EventHandler<DesktopChangedEventArgs> Removed
Event Type