public IEnumerableGetOpenPopups() { return PresentationSource.CurrentSources.OfType () .Select(h => h.RootVisual) .OfType () .Select(f => f.Parent) .OfType () .Where(p => p.IsOpen); }
本文共 424 字,大约阅读时间需要 1 分钟。
public IEnumerableGetOpenPopups() { return PresentationSource.CurrentSources.OfType () .Select(h => h.RootVisual) .OfType () .Select(f => f.Parent) .OfType () .Where(p => p.IsOpen); }
转载于:https://www.cnblogs.com/FaDeKongJian/p/4794662.html