C# Класс WindowsDesktop.WindowExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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