C# 클래스 WindowsDesktop.VirtualDesktop

파일 보기 프로젝트 열기: Grabacr07/VirtualDesktop 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FromComObject VirtualDesktop
GetDesktopsInternal IEnumerable
RegisterListener IDisposable
VirtualDesktop System
VirtualDesktop System

공개 메소드들

메소드 설명
Create ( ) : VirtualDesktop

Creates a virtual desktop.

FromHwnd ( IntPtr hwnd ) : VirtualDesktop

Returns the virtual desktop that the specified window is located.

FromId ( System.Guid desktopId ) : VirtualDesktop

Returns the virtual desktop of the specified identifier.

GetDesktops ( ) : WindowsDesktop.VirtualDesktop[]

Returns all the virtual desktops of currently valid.

GetLeft ( ) : VirtualDesktop

Returns a virtual desktop on the left.

GetRight ( ) : VirtualDesktop

Returns a virtual desktop on the right.

IsPinnedApplication ( string appId ) : bool
IsPinnedWindow ( IntPtr hWnd ) : bool
PinApplication ( string appId ) : void
PinWindow ( IntPtr hWnd ) : void
Remove ( ) : void

Remove the virtual desktop.

Remove ( VirtualDesktop fallbackDesktop ) : void

Remove the virtual desktop, specifying a virtual desktop that display after destroyed.

Switch ( ) : void

Display the virtual desktop.

UnpinApplication ( string appId ) : void
UnpinWindow ( IntPtr hWnd ) : void

비공개 메소드들

메소드 설명
FromComObject ( IVirtualDesktop desktop ) : VirtualDesktop
GetDesktopsInternal ( ) : IEnumerable
RegisterListener ( ) : IDisposable
VirtualDesktop ( ) : System
VirtualDesktop ( IVirtualDesktop comObject ) : System

메소드 상세

Create() 공개 정적인 메소드

Creates a virtual desktop.
public static Create ( ) : VirtualDesktop
리턴 VirtualDesktop

FromHwnd() 공개 정적인 메소드

Returns the virtual desktop that the specified window is located.
public static FromHwnd ( IntPtr hwnd ) : VirtualDesktop
hwnd System.IntPtr
리턴 VirtualDesktop

FromId() 공개 정적인 메소드

Returns the virtual desktop of the specified identifier.
public static FromId ( System.Guid desktopId ) : VirtualDesktop
desktopId System.Guid
리턴 VirtualDesktop

GetDesktops() 공개 정적인 메소드

Returns all the virtual desktops of currently valid.
public static GetDesktops ( ) : WindowsDesktop.VirtualDesktop[]
리턴 WindowsDesktop.VirtualDesktop[]

GetLeft() 공개 메소드

Returns a virtual desktop on the left.
public GetLeft ( ) : VirtualDesktop
리턴 VirtualDesktop

GetRight() 공개 메소드

Returns a virtual desktop on the right.
public GetRight ( ) : VirtualDesktop
리턴 VirtualDesktop

IsPinnedApplication() 공개 정적인 메소드

public static IsPinnedApplication ( string appId ) : bool
appId string
리턴 bool

IsPinnedWindow() 공개 정적인 메소드

public static IsPinnedWindow ( IntPtr hWnd ) : bool
hWnd System.IntPtr
리턴 bool

PinApplication() 공개 정적인 메소드

public static PinApplication ( string appId ) : void
appId string
리턴 void

PinWindow() 공개 정적인 메소드

public static PinWindow ( IntPtr hWnd ) : void
hWnd System.IntPtr
리턴 void

Remove() 공개 메소드

Remove the virtual desktop.
public Remove ( ) : void
리턴 void

Remove() 공개 메소드

Remove the virtual desktop, specifying a virtual desktop that display after destroyed.
public Remove ( VirtualDesktop fallbackDesktop ) : void
fallbackDesktop VirtualDesktop
리턴 void

Switch() 공개 메소드

Display the virtual desktop.
public Switch ( ) : void
리턴 void

UnpinApplication() 공개 정적인 메소드

public static UnpinApplication ( string appId ) : void
appId string
리턴 void

UnpinWindow() 공개 정적인 메소드

public static UnpinWindow ( IntPtr hWnd ) : void
hWnd System.IntPtr
리턴 void