Files
mono/mcs/class/System.Design/System.Web.UI.Design.WebControls/TableRowsCollectionEditor.cs
T
Gaurav Vaish 9d81f5f57e 2002-10-07 Gaurav Vaish <[email protected]>
* TableRowsCollectionEditor.cs
                          : Completed.
* TODO                    : Updated information.

svn path=/trunk/mcs/; revision=8044
2002-10-07 08:23:45 +00:00

38 lines
901 B
C#
Executable File

/**
* Namespace: System.Web.UI.Design.WebControls
* Class: TableRowsCollectionEditor
*
* Author: Gaurav Vaish
* Maintainer: mastergaurav AT users DOT sf DOT net
*
* (C) Gaurav Vaish (2002)
*/
using System;
using System.ComponentModel.Design;
using System.Reflection;
namespace System.Web.UI.Design.WebControls
{
public class TableRowsCollectionEditor : CollectionEditor
{
public TableRowsCollectionEditor(Type type) : base(type)
{
}
protected override bool CanSelectMultipleInstances()
{
return false;
}
protected override object CreateInstance(Type itemType)
{
return Activator.CreateInstance(itemType,
BindingFlags.CreateInstance |
BindingFlags.Instance |
BindingFlags.Public,
null, null, null);
}
}
}