using System.Collections.Generic; namespace XericUI.VisualForm { public interface IAnchorWindowEntry { /// /// 默认窗口条目列表 /// public IEnumerable DefaultTypeWindowEntries { get; } /// /// 默认窗口条目数量 /// public int DefaultTypeWindowEntriesCount { get; } /// /// 窗口层级变更事件 — 当某个条目的溢出状态发生变化时触发。 /// /// 发生变化的条目索引 /// 新的溢出状态 public void OnWindowLevelChange(int entryIndex, OverflowState state); } public interface IAnchorWindowEntry : IAnchorWindowEntry where T : WindowEntry { /// /// 窗口条目列表 /// public IList WindowEntries { get; } } }