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
- CodeObjectCreateExpression.cs
- TcpClientChannel.cs
- SerializationInfo.cs
- SrgsDocumentParser.cs
- TextServicesDisplayAttribute.cs
- MimeXmlImporter.cs
- unsafenativemethodsother.cs
- SelfIssuedAuthProofToken.cs
- CodeNamespaceImportCollection.cs
- MatcherBuilder.cs
- AdjustableArrowCap.cs
- printdlgexmarshaler.cs
- ServiceAuthorizationManager.cs
- SQLRoleProvider.cs
- HttpRequest.cs
- PagesSection.cs
- RawStylusSystemGestureInputReport.cs
- ChannelFactoryRefCache.cs
- StorageInfo.cs
- ReversePositionQuery.cs
- SpecialNameAttribute.cs
- __Filters.cs
- LineBreakRecord.cs
- PageTheme.cs
- ByteKeyFrameCollection.cs
- ExpressionTextBoxAutomationPeer.cs
- QuaternionValueSerializer.cs
- CapabilitiesRule.cs
- UnmanagedMemoryStream.cs
- SetterBase.cs
- ServiceEndpointElementCollection.cs
- HitTestDrawingContextWalker.cs
- ContainerAction.cs
- ConfigXmlAttribute.cs
- Rules.cs
- IsolatedStorageFileStream.cs
- UInt16.cs
- SafeRightsManagementHandle.cs
- AssemblyBuilder.cs
- CryptoHandle.cs
- OracleCommand.cs
- storepermissionattribute.cs
- ApplicationInterop.cs
- EventArgs.cs
- NotifyCollectionChangedEventArgs.cs
- DnsEndPoint.cs
- XsltCompileContext.cs
- ContentControl.cs
- FlowDocumentReaderAutomationPeer.cs
- DirectionalLight.cs
- ComplexPropertyEntry.cs
- SerializationTrace.cs
- DataRowComparer.cs
- Int16.cs
- DataControlFieldHeaderCell.cs
- HttpPostedFile.cs
- TraceListeners.cs
- TemplatePartAttribute.cs
- XmlWrappingReader.cs
- RTLAwareMessageBox.cs
- WebUtil.cs
- EpmAttributeNameBuilder.cs
- MachineKeySection.cs
- CategoryAttribute.cs
- _NegoStream.cs
- DbConnectionClosed.cs
- SqlDataReaderSmi.cs
- CodeGroup.cs
- DataGridViewImageColumn.cs
- AmbiguousMatchException.cs
- SchemaNames.cs
- SchemaImporterExtension.cs
- GridItemPattern.cs
- DbgUtil.cs
- ImageSource.cs
- SymmetricCryptoHandle.cs
- EventListener.cs
- GridViewSelectEventArgs.cs
- TextBox.cs
- DiffuseMaterial.cs
- SoapHeaders.cs
- TextBox.cs
- DataServiceBehavior.cs
- HostnameComparisonMode.cs
- VirtualPath.cs
- CryptoApi.cs
- ProviderSettingsCollection.cs
- KeyGestureConverter.cs
- NumericUpDown.cs
- ConfigurationLocationCollection.cs
- TemplateBaseAction.cs
- CodeMemberMethod.cs
- Vector3DCollection.cs
- RegexReplacement.cs
- DesignerTransactionCloseEvent.cs
- XPathScanner.cs
- BooleanProjectedSlot.cs
- CopyNodeSetAction.cs
- TCPClient.cs
- CaseInsensitiveComparer.cs