DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace DevComponents.DotNetBar.Design
{
#region ElementStyleCollectionEditor
/// <summary>
/// Support for ElementStyle design-time editor.
/// </summary>
public class ElementStyleCollectionEditor : System.ComponentModel.Design.CollectionEditor
{
/// <summary>Creates new instance of the object.</summary>
public ElementStyleCollectionEditor(Type type)
: base(type)
{
}
protected override Type CreateCollectionItemType()
{
return typeof(ElementStyle);
}
protected override Type[] CreateNewItemTypes()
{
return new Type[] { typeof(ElementStyle) };
}
protected override object CreateInstance(Type itemType)
{
object item = base.CreateInstance(itemType);
return item;
}
}
#endregion
}