External/Aga.Controls/StringCollectionEditor.cs
author moel.mich
Sat, 08 Jun 2013 17:06:00 +0000
changeset 392 4b43228a9894
permissions -rw-r--r--
Some modifications to the OxyPlot library to back-port to .NET 2.0. Added the LINQBridge library for the LINQ based code in OxyPlot (the original .NET LINQ is not available in .NET 2.0).
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.ComponentModel.Design;
     5 
     6 namespace Aga.Controls
     7 {
     8 	public class StringCollectionEditor : CollectionEditor
     9 	{
    10 		public StringCollectionEditor(Type type): base(type)
    11 		{
    12 		}
    13 
    14 		protected override Type CreateCollectionItemType()
    15 		{
    16 			return typeof(string);
    17 		}
    18 
    19 		protected override object CreateInstance(Type itemType)
    20 		{
    21 			return "";
    22 		}
    23 	}
    24 }