Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewSortEventArgs.cs / 1 / GridViewSortEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
using System.Security.Permissions;
///
/// Provides data for the event of a .
///
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- JsonUriDataContract.cs
- EventLogInformation.cs
- SqlDataSourceStatusEventArgs.cs
- SchemaCollectionCompiler.cs
- IndentTextWriter.cs
- SmtpDigestAuthenticationModule.cs
- XPathSelfQuery.cs
- WebServiceErrorEvent.cs
- XmlEncoding.cs
- BasicExpressionVisitor.cs
- XmlSchemaValidator.cs
- ExtenderHelpers.cs
- METAHEADER.cs
- DataKey.cs
- ContentFilePart.cs
- EmptyQuery.cs
- OutputCacheModule.cs
- PersistenceException.cs
- JapaneseLunisolarCalendar.cs
- UrlPropertyAttribute.cs
- FileSystemInfo.cs
- DeploymentSection.cs
- GZipDecoder.cs
- FileVersion.cs
- TextServicesLoader.cs
- QueryOutputWriter.cs
- PrimitiveXmlSerializers.cs
- LinkArea.cs
- XPathArrayIterator.cs
- WebDisplayNameAttribute.cs
- OutputScopeManager.cs
- TypeSource.cs
- RoleManagerModule.cs
- MasterPageCodeDomTreeGenerator.cs
- MenuAdapter.cs
- SafeThemeHandle.cs
- TextBoxDesigner.cs
- SplashScreen.cs
- ListItem.cs
- ConfigXmlCDataSection.cs
- KeyNotFoundException.cs
- IndependentlyAnimatedPropertyMetadata.cs
- BrowserTree.cs
- MenuCommand.cs
- CharKeyFrameCollection.cs
- XmlBindingWorker.cs
- LocalFileSettingsProvider.cs
- DNS.cs
- StringCollectionMarkupSerializer.cs
- ProfileManager.cs
- PerfCounters.cs
- ListParaClient.cs
- SwitchAttribute.cs
- WithStatement.cs
- SortableBindingList.cs
- RectIndependentAnimationStorage.cs
- GenerateScriptTypeAttribute.cs
- TextBox.cs
- NestPullup.cs
- AssemblyAttributesGoHere.cs
- HtmlProps.cs
- TextTreeFixupNode.cs
- OdbcConnectionOpen.cs
- CompilationLock.cs
- ProgressiveCrcCalculatingStream.cs
- DataDocumentXPathNavigator.cs
- RegexNode.cs
- TableRowCollection.cs
- Attachment.cs
- DatagridviewDisplayedBandsData.cs
- HierarchicalDataSourceControl.cs
- IOException.cs
- ApplicationManager.cs
- GridPatternIdentifiers.cs
- EndpointAddressAugust2004.cs
- ResizeGrip.cs
- ModelItemDictionary.cs
- DataFormat.cs
- DoubleIndependentAnimationStorage.cs
- PeerSecurityHelpers.cs
- X509Extension.cs
- BaseAddressElement.cs
- DelimitedListTraceListener.cs
- SchemaReference.cs
- CollectionDataContract.cs
- _AutoWebProxyScriptHelper.cs
- CapabilitiesState.cs
- QueryPageSettingsEventArgs.cs
- DataGridViewRowEventArgs.cs
- Config.cs
- SoapInteropTypes.cs
- WebPartMovingEventArgs.cs
- Msmq4SubqueuePoisonHandler.cs
- SimpleApplicationHost.cs
- COM2PropertyDescriptor.cs
- DefaultProxySection.cs
- TaskScheduler.cs
- FocusManager.cs
- UnionCqlBlock.cs
- ReaderWriterLockSlim.cs