C# 클래스 WindowsDesktop.WindowExtensions

파일 보기 프로젝트 열기: Grabacr07/VirtualDesktop

공개 메소드들

메소드 설명
GetCurrentDesktop ( this window ) : VirtualDesktop

Returns a virtual desktop that window is located.

IsCurrentVirtualDesktop ( this window ) : bool

Determines whether the window is located over the virtual desktop that current displayed.

IsPinned ( this window ) : bool
MoveToDesktop ( this window, VirtualDesktop virtualDesktop ) : void

Move this window to specified virtual desktop.

Pin ( this window ) : void
SwitchAndMove ( this virtualDesktop, Window window ) : void
TogglePin ( this window ) : void
Unpin ( this window ) : void

비공개 메소드들

메소드 설명
GetHandle ( this window ) : IntPtr

메소드 상세

GetCurrentDesktop() 공개 정적인 메소드

Returns a virtual desktop that window is located.
public static GetCurrentDesktop ( this window ) : VirtualDesktop
window this
리턴 VirtualDesktop

IsCurrentVirtualDesktop() 공개 정적인 메소드

Determines whether the window is located over the virtual desktop that current displayed.
public static IsCurrentVirtualDesktop ( this window ) : bool
window this
리턴 bool

IsPinned() 공개 정적인 메소드

public static IsPinned ( this window ) : bool
window this
리턴 bool

MoveToDesktop() 공개 정적인 메소드

Move this window to specified virtual desktop.
public static MoveToDesktop ( this window, VirtualDesktop virtualDesktop ) : void
window this
virtualDesktop VirtualDesktop
리턴 void

Pin() 공개 정적인 메소드

public static Pin ( this window ) : void
window this
리턴 void

SwitchAndMove() 공개 정적인 메소드

public static SwitchAndMove ( this virtualDesktop, Window window ) : void
virtualDesktop this
window System.Windows.Window
리턴 void

TogglePin() 공개 정적인 메소드

public static TogglePin ( this window ) : void
window this
리턴 void

Unpin() 공개 정적인 메소드

public static Unpin ( this window ) : void
window this
리턴 void