Files
HandyControl/Net35/HandyControl_Net35/Shell/ThumbButtonInfoCollection.cs
T
2019-01-21 00:43:10 +08:00

30 lines
738 B
C#

namespace Microsoft.Windows.Shell
{
using System.Windows;
public class ThumbButtonInfoCollection : FreezableCollection<ThumbButtonInfo>
{
private static ThumbButtonInfoCollection s_empty;
protected override Freezable CreateInstanceCore()
{
return new ThumbButtonInfoCollection();
}
internal static ThumbButtonInfoCollection Empty
{
get
{
if (s_empty == null)
{
ThumbButtonInfoCollection infos = new ThumbButtonInfoCollection();
infos.Freeze();
s_empty = infos;
}
return s_empty;
}
}
}
}