Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewSortEventArgs.cs / 1305376 / GridViewSortEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
///
/// Provides data for the event of a .
///
///
public class GridViewSortEventArgs : CancelEventArgs {
private string _sortExpression;
private SortDirection _sortDirection;
///
/// Initializes a new instance of the class.
///
public GridViewSortEventArgs(string sortExpression, SortDirection sortDirection) {
this._sortExpression = sortExpression;
this._sortDirection = sortDirection;
}
///
/// Gets the direction used to sort.
///
public SortDirection SortDirection {
get {
return _sortDirection;
}
set {
_sortDirection = value;
}
}
///
/// Gets the expression used to sort.
///
public string SortExpression {
get {
return _sortExpression;
}
set {
_sortExpression = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InstanceDescriptor.cs
- WinFormsComponentEditor.cs
- SqlConnectionStringBuilder.cs
- XmlMembersMapping.cs
- UnsafeNativeMethodsPenimc.cs
- EnumBuilder.cs
- SQLInt64Storage.cs
- HyperLinkColumn.cs
- WorkflowApplicationCompletedEventArgs.cs
- XmlSchemaRedefine.cs
- TextBounds.cs
- CodeTypeMember.cs
- ZipArchive.cs
- Point3DCollectionValueSerializer.cs
- XmlSchemaSimpleContent.cs
- RegionInfo.cs
- WCFServiceClientProxyGenerator.cs
- ReferenceService.cs
- FrameworkRichTextComposition.cs
- UmAlQuraCalendar.cs
- EntityStoreSchemaFilterEntry.cs
- IEnumerable.cs
- ButtonPopupAdapter.cs
- WebPartVerbsEventArgs.cs
- BitmapData.cs
- InputScopeManager.cs
- FloaterParaClient.cs
- ChoiceConverter.cs
- AssemblyBuilder.cs
- PackagingUtilities.cs
- SafeArrayRankMismatchException.cs
- CapabilitiesRule.cs
- ImmutablePropertyDescriptorGridEntry.cs
- HwndProxyElementProvider.cs
- ThreadStateException.cs
- HtmlPanelAdapter.cs
- TypeSystem.cs
- NullableDoubleMinMaxAggregationOperator.cs
- DecimalConstantAttribute.cs
- Utils.cs
- CheckedPointers.cs
- ResourceDisplayNameAttribute.cs
- DivideByZeroException.cs
- SchemaElementDecl.cs
- DependencyPropertyChangedEventArgs.cs
- StyleSheetComponentEditor.cs
- RandomNumberGenerator.cs
- ListControl.cs
- WebException.cs
- StateDesigner.TransitionInfo.cs
- X509Utils.cs
- BlurBitmapEffect.cs
- _NegoStream.cs
- CurrencyManager.cs
- DbConnectionPoolGroup.cs
- SizeConverter.cs
- DragStartedEventArgs.cs
- Page.cs
- HtmlInputFile.cs
- SoapReflectionImporter.cs
- FolderLevelBuildProvider.cs
- FrameworkContentElementAutomationPeer.cs
- DictionaryBase.cs
- SqlCommandSet.cs
- ADRole.cs
- TextRangeEdit.cs
- PnrpPermission.cs
- AsymmetricAlgorithm.cs
- WebPartDeleteVerb.cs
- HtmlInputText.cs
- SynchronizationFilter.cs
- ToolboxItemFilterAttribute.cs
- TaiwanLunisolarCalendar.cs
- IndentedWriter.cs
- SystemParameters.cs
- ComponentResourceKey.cs
- HtmlInputRadioButton.cs
- WebPartZoneCollection.cs
- ResourceProperty.cs
- OperationResponse.cs
- MouseGestureValueSerializer.cs
- BinaryExpressionHelper.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- DataColumnChangeEvent.cs
- JsonMessageEncoderFactory.cs
- CachedPathData.cs
- ElementUtil.cs
- VectorAnimation.cs
- _HTTPDateParse.cs
- DPTypeDescriptorContext.cs
- RowVisual.cs
- TableRowGroup.cs
- RegisteredDisposeScript.cs
- GradientStop.cs
- DataGridViewAccessibleObject.cs
- XmlCustomFormatter.cs
- DbDataAdapter.cs
- ExtendedPropertyCollection.cs
- ScrollChrome.cs
- ParseNumbers.cs