Files
Marek Habersack 84040b65ab 2009-06-18 Marek Habersack <[email protected]>
* MetaColumnTest.cs: added test for SortExpression

2009-06-18  Marek Habersack  <[email protected]>

	* DynamicDataContainerColumnProvider.cs: added setting of
	IsSortable

2009-06-18  Marek Habersack  <[email protected]>

	* Test/DataSource/DynamicDataColumn.cs: added Sortable property.

2009-06-18  Marek Habersack  <[email protected]>

	* TestDataColumn.cs: mark the column as sortable based on value of
	the DynamicDataSortable attribute.

	* Baz.cs: added a sortable column.

svn path=/trunk/mcs/; revision=136386
2009-06-18 09:21:04 +00:00

20 lines
454 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.DynamicData.ModelProviders;
namespace MonoTests.ModelProviders
{
[AttributeUsage (AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
class DynamicDataSortableAttribute : Attribute
{
public bool Sortable { get; private set; }
public DynamicDataSortableAttribute (bool sortable)
{
Sortable = sortable;
}
}
}