DesktopWindow 类
- 命名空间
- ClassIsland.Core.Models
- 程序集
- ClassIsland.Core.dll
public class DesktopWindow : ObservableRecipient, INotifyPropertyChanged, INotifyPropertyChanging
- 继承
-
DesktopWindow
- 实现
- 继承成员
属性
ClassName
public string ClassName { get; set; }
属性值
Description
public string Description { get; set; }
属性值
HWnd
public HWND HWnd { get; set; }
属性值
- HWND
Icon
public BitmapImage Icon { get; set; }
属性值
IsVisible
public bool IsVisible { get; set; }
属性值
OwnerProcess
public Process OwnerProcess { get; set; }
属性值
ScreenShot
public BitmapImage ScreenShot { get; set; }
属性值
WindowRect
public RECT WindowRect { get; set; }
属性值
- RECT
WindowSize
public Size WindowSize { get; set; }
属性值
WindowText
public string WindowText { get; set; }
属性值
方法
GetWindowByHWnd(HWND)
public static DesktopWindow GetWindowByHWnd(HWND hWnd)
参数
hWnd
HWND
返回
GetWindowByHWndDetailed(HWND)
public static DesktopWindow GetWindowByHWndDetailed(HWND hWnd)
参数
hWnd
HWND