Provides data for the ApplyFilter or ApplySort events of the EntityDataSourceFilterView control.
Inheritance: System.EventArgs
示例#1
0
 /// <summary>
 /// Raises the ApplySort event.
 /// </summary>
 /// <param name="entityList">The list of data retrieved from the associated
 /// <see cref="IListDataSource"/> control.</param>
 private void OnApplySort(IEnumerable entityList)
 {
     if (ApplySort != null)
     {
         EntityListEventArgs args = new EntityListEventArgs(entityList);
         ApplySort(this, args);
     }
 }
			/// <summary>
			/// Raises the ApplySort event.
			/// </summary>
			/// <param name="entityList">The list of data retrieved from the associated
			/// <see cref="IListDataSource"/> control.</param>
			private void OnApplySort(IEnumerable entityList)
			{
				if ( ApplySort != null )
				{
					EntityListEventArgs args = new EntityListEventArgs(entityList);
					ApplySort(this, args);
				}
			}