CPF/CPF.ReoGrid/Outline/OutlineGroup.cs
2024-06-24 10:15:59 +08:00

32 lines
437 B
C#

using System;
using System.Collections.Generic;
using CPF.Drawing;
namespace CPF.ReoGrid.Outline
{
public class OutlineGroup<T> : List<T> where T : IReoGridOutline
{
internal OutlineGroup()
{
}
internal Rect NumberButtonBounds { get; set; }
public void CollapseAll()
{
foreach (T t in this)
{
t.Collapse();
}
}
public void ExpandAll()
{
foreach (T t in this)
{
t.Expand();
}
}
}
}