Interface IVirtualDesktopManager
Allows enumeration of the virtual desktops in this workspace.
Assembly: WinMan.dll
Syntax
public interface IVirtualDesktopManager
Properties
|
Improve this Doc
View Source
CanManageVirtualDesktops
True if the environment can be manipulated with this instance.
Declaration
bool CanManageVirtualDesktops { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CurrentDesktop
The current virtual desktop.
Declaration
IVirtualDesktop CurrentDesktop { get; }
Property Value
|
Improve this Doc
View Source
Desktops
Returns a snapshot of the current virtual desktops in the workspace.
Declaration
IReadOnlyList<IVirtualDesktop> Desktops { get; }
Property Value
|
Improve this Doc
View Source
Workspace
Declaration
IWorkspace Workspace { get; }
Property Value
Methods
|
Improve this Doc
View Source
CreateDesktop()
Creates a new virtual desktop and returns a reference to it.
Declaration
IVirtualDesktop CreateDesktop()
Returns
|
Improve this Doc
View Source
IsWindowPinned(IWindow)
Checks if a window has previously been pinned.
Declaration
bool IsWindowPinned(IWindow window)
Parameters
Type |
Name |
Description |
IWindow |
window |
|
Returns
Type |
Description |
System.Boolean |
|
Exceptions
|
Improve this Doc
View Source
PinWindow(IWindow)
Pins a window across all virtual desktops.
Declaration
void PinWindow(IWindow window)
Parameters
Type |
Name |
Description |
IWindow |
window |
|
Exceptions
|
Improve this Doc
View Source
UnpinWindow(IWindow)
Unpins a previously pinned window.
Declaration
void UnpinWindow(IWindow window)
Parameters
Type |
Name |
Description |
IWindow |
window |
|
Exceptions
Events
|
Improve this Doc
View Source
CurrentDesktopChanged
Raised when the current desktop is changed.
Declaration
event EventHandler<CurrentDesktopChangedEventArgs> CurrentDesktopChanged
Event Type
|
Improve this Doc
View Source
DesktopAdded
Raised when a new desktop has been added to the workspace.
Declaration
event EventHandler<DesktopChangedEventArgs> DesktopAdded
Event Type
|
Improve this Doc
View Source
DesktopRemoved
Raised when a desktop has been removed from the workspace.
Declaration
event EventHandler<DesktopChangedEventArgs> DesktopRemoved
Event Type