Table of Contents

IWindowRuleService 接口

命名空间
ClassIsland.Core.Abstractions.Services
程序集
ClassIsland.Core.dll

窗口规则服务,处理窗口相关的规则。

public interface IWindowRuleService

属性

ForegroundHwnd

焦点窗口的 HWND。

HWND ForegroundHwnd { get; set; }

属性值

HWND

方法

IsForegroundWindowClassIsland()

判断前台窗口是否属于 ClassIsland。

bool IsForegroundWindowClassIsland()

返回

bool

事件

ForegroundWindowChanged

当焦点窗口发生变化时触发

event WINEVENTPROC? ForegroundWindowChanged

事件类型

WINEVENTPROC