Search Results for

    Interface IVirtualDesktopManager

    Allows enumeration of the virtual desktops in this workspace.

    Namespace: WinMan
    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
    Type Description
    IVirtualDesktop
    | Improve this Doc View Source

    Desktops

    Returns a snapshot of the current virtual desktops in the workspace.

    Declaration
    IReadOnlyList<IVirtualDesktop> Desktops { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IVirtualDesktop>
    | Improve this Doc View Source

    Workspace

    Declaration
    IWorkspace Workspace { get; }
    Property Value
    Type Description
    IWorkspace

    Methods

    | Improve this Doc View Source

    CreateDesktop()

    Creates a new virtual desktop and returns a reference to it.

    Declaration
    IVirtualDesktop CreateDesktop()
    Returns
    Type Description
    IVirtualDesktop
    | 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
    Type Condition
    InvalidWindowReferenceException
    | 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
    Type Condition
    InvalidWindowReferenceException
    | Improve this Doc View Source

    UnpinWindow(IWindow)

    Unpins a previously pinned window.

    Declaration
    void UnpinWindow(IWindow window)
    Parameters
    Type Name Description
    IWindow window
    Exceptions
    Type Condition
    InvalidWindowReferenceException

    Events

    | Improve this Doc View Source

    CurrentDesktopChanged

    Raised when the current desktop is changed.

    Declaration
    event EventHandler<CurrentDesktopChangedEventArgs> CurrentDesktopChanged
    Event Type
    Type Description
    System.EventHandler<CurrentDesktopChangedEventArgs>
    | Improve this Doc View Source

    DesktopAdded

    Raised when a new desktop has been added to the workspace.

    Declaration
    event EventHandler<DesktopChangedEventArgs> DesktopAdded
    Event Type
    Type Description
    System.EventHandler<DesktopChangedEventArgs>
    | Improve this Doc View Source

    DesktopRemoved

    Raised when a desktop has been removed from the workspace.

    Declaration
    event EventHandler<DesktopChangedEventArgs> DesktopRemoved
    Event Type
    Type Description
    System.EventHandler<DesktopChangedEventArgs>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX