IWindowRuleService 接口
- 程序集
- ClassIsland.Core.dll
窗口规则服务,处理窗口相关的规则。
public interface IWindowRuleService
方法
IsForegroundWindowClassIsland()
判断前台窗口是否属于 ClassIsland。
bool IsForegroundWindowClassIsland()
返回
事件
ForegroundWindowChanged
当焦点窗口发生变化时触发
event EventHandler<ForegroundWindowChangedEventArgs>? ForegroundWindowChanged
事件类型
- EventHandler<ForegroundWindowChangedEventArgs>