32 lines
437 B
C#
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|