Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / ListViewSortEventArgs.cs / 1 / ListViewSortEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
using System.Collections.Specialized;
using System.ComponentModel;
namespace System.Web.UI.WebControls {
[AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class ListViewSortEventArgs : CancelEventArgs {
private string _sortExpression;
private SortDirection _sortDirection;
public ListViewSortEventArgs(string sortExpression, SortDirection sortDirection)
: base(false) {
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
- VBIdentifierName.cs
- EventlogProvider.cs
- WebServiceMethodData.cs
- ByteAnimationUsingKeyFrames.cs
- OraclePermissionAttribute.cs
- Attributes.cs
- RadioButton.cs
- EventLogException.cs
- Point3DCollection.cs
- DispatcherExceptionEventArgs.cs
- QueryAccessibilityHelpEvent.cs
- PropertyNames.cs
- Pair.cs
- MethodRental.cs
- TextContainerChangedEventArgs.cs
- PopOutPanel.cs
- Comparer.cs
- ExtenderProviderService.cs
- WsatTransactionFormatter.cs
- BinaryUtilClasses.cs
- _CommandStream.cs
- InternalControlCollection.cs
- TextPenaltyModule.cs
- TreePrinter.cs
- AliasedExpr.cs
- WsatEtwTraceListener.cs
- messageonlyhwndwrapper.cs
- ContentOperations.cs
- ICspAsymmetricAlgorithm.cs
- HtmlToClrEventProxy.cs
- StateManagedCollection.cs
- BooleanToVisibilityConverter.cs
- SystemWebExtensionsSectionGroup.cs
- ChtmlLinkAdapter.cs
- Directory.cs
- UpnEndpointIdentity.cs
- ReliableMessagingHelpers.cs
- XamlTreeBuilderBamlRecordWriter.cs
- WebBrowser.cs
- MetadataItemEmitter.cs
- ItemCollection.cs
- CompositeCollectionView.cs
- XpsS0ValidatingLoader.cs
- ProcessModelSection.cs
- SafeLibraryHandle.cs
- OverflowException.cs
- PathParser.cs
- BaseTemplateParser.cs
- NativeCppClassAttribute.cs
- CompressionTracing.cs
- ErrorStyle.cs
- AgileSafeNativeMemoryHandle.cs
- DockingAttribute.cs
- QilList.cs
- AsmxEndpointPickerExtension.cs
- SendingRequestEventArgs.cs
- DbDataRecord.cs
- SqlGenerator.cs
- Lookup.cs
- XamlTypeMapper.cs
- SortQueryOperator.cs
- BitStream.cs
- AlignmentYValidation.cs
- Stackframe.cs
- RelationshipFixer.cs
- PropertyGeneratedEventArgs.cs
- CompensateDesigner.cs
- SByte.cs
- dataprotectionpermission.cs
- PartManifestEntry.cs
- XslCompiledTransform.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- PageContentAsyncResult.cs
- AssemblyCollection.cs
- DoubleAnimation.cs
- SelectionItemPatternIdentifiers.cs
- DelayDesigner.cs
- Visual3D.cs
- DbFunctionCommandTree.cs
- RouteTable.cs
- StrongNameMembershipCondition.cs
- ThousandthOfEmRealPoints.cs
- Compensate.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ApplicationId.cs
- Configuration.cs
- DeferredSelectedIndexReference.cs
- EnvelopedPkcs7.cs
- ArraySubsetEnumerator.cs
- TabPage.cs
- PermissionSet.cs
- ThicknessKeyFrameCollection.cs
- GroupBox.cs
- URLAttribute.cs
- RoleGroupCollection.cs
- CredentialCache.cs
- EventEntry.cs
- HyperLinkField.cs
- OdbcParameter.cs
- ManipulationCompletedEventArgs.cs