Search Results for

    Interface IVirtualDesktop

    Represents a virtual desktop.

    Namespace: WinMan
    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
    int Index { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsCurrent

    Is this the current virtual desktop.

    Declaration
    bool IsCurrent { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Name

    The name of this desktop.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Workspace

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

    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
    Type Condition
    InvalidWindowReferenceException
    InvalidVirtualDesktopReferenceException
    | 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
    Type Condition
    InvalidWindowReferenceException
    InvalidVirtualDesktopReferenceException
    | Improve this Doc View Source

    Remove()

    Removes this virtual desktop.

    Declaration
    void Remove()
    Exceptions
    Type Condition
    InvalidVirtualDesktopReferenceException
    | 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
    Type Condition
    InvalidVirtualDesktopReferenceException
    | Improve this Doc View Source

    SwitchTo()

    Switches to this virtual desktop.

    Declaration
    void SwitchTo()
    Exceptions
    Type Condition
    InvalidVirtualDesktopReferenceException

    Events

    | Improve this Doc View Source

    Removed

    Raised once the desktops has been removed from the workspace.

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