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
- XsltArgumentList.cs
- ActiveXHost.cs
- XmlWriterTraceListener.cs
- EncryptedPackage.cs
- PropertyEmitterBase.cs
- DataGridViewCellCancelEventArgs.cs
- PasswordBoxAutomationPeer.cs
- SiteMapPath.cs
- ScheduleChanges.cs
- FocusWithinProperty.cs
- DesignerTransactionCloseEvent.cs
- _ConnectionGroup.cs
- SQLDateTime.cs
- SuppressMergeCheckAttribute.cs
- LabelAutomationPeer.cs
- CodeSubDirectory.cs
- EraserBehavior.cs
- EntityContainerAssociationSet.cs
- WindowsToolbarItemAsMenuItem.cs
- SingleAnimationUsingKeyFrames.cs
- MenuItemCollection.cs
- GridEntryCollection.cs
- ToolStripDesigner.cs
- SpecialNameAttribute.cs
- RelationshipConstraintValidator.cs
- EmissiveMaterial.cs
- CompiledAction.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- EllipseGeometry.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- TextEditorCopyPaste.cs
- SpellerStatusTable.cs
- GenericAuthenticationEventArgs.cs
- DelegatedStream.cs
- ProfilePropertyMetadata.cs
- SemaphoreSecurity.cs
- TTSEngineTypes.cs
- ProfessionalColorTable.cs
- TimeSpanStorage.cs
- DesignSurfaceManager.cs
- EmptyEnumerable.cs
- TreeNode.cs
- GeneralTransform2DTo3DTo2D.cs
- DPTypeDescriptorContext.cs
- Soap.cs
- Trace.cs
- SendContent.cs
- ItemMap.cs
- Track.cs
- DataRowCollection.cs
- SecUtil.cs
- ByteKeyFrameCollection.cs
- SchemaTableOptionalColumn.cs
- DataSourceNameHandler.cs
- UnsupportedPolicyOptionsException.cs
- ItemContainerPattern.cs
- coordinatorscratchpad.cs
- XmlWrappingReader.cs
- OdbcUtils.cs
- ProjectionPath.cs
- HostingPreferredMapPath.cs
- HandledMouseEvent.cs
- WindowsListViewSubItem.cs
- ImageCodecInfoPrivate.cs
- XmlWriterSettings.cs
- Color.cs
- XmlSchemaAnnotation.cs
- BaseTemplatedMobileComponentEditor.cs
- SqlNotificationRequest.cs
- TypeDescriptor.cs
- BitmapFrame.cs
- DataBindEngine.cs
- XsltArgumentList.cs
- HandleCollector.cs
- TextDecorationCollection.cs
- WSHttpBindingElement.cs
- EventHandlerList.cs
- ConsumerConnectionPoint.cs
- ApplicationContext.cs
- PropertyEmitter.cs
- BrowserTree.cs
- ProcessManager.cs
- RegexMatchCollection.cs
- ToolboxItemFilterAttribute.cs
- ProgressBar.cs
- FtpWebResponse.cs
- ChangeTracker.cs
- CompositeActivityMarkupSerializer.cs
- ContentDesigner.cs
- BasicCellRelation.cs
- VectorConverter.cs
- Rect.cs
- StylusDownEventArgs.cs
- ChameleonKey.cs
- FontStretch.cs
- ProxyFragment.cs
- ConfigXmlElement.cs
- SmiTypedGetterSetter.cs
- UITypeEditor.cs
- SerialPinChanges.cs