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
- CodeSnippetCompileUnit.cs
- Soap12ServerProtocol.cs
- TimeSpanStorage.cs
- PaperSource.cs
- SqlUdtInfo.cs
- ViewGenResults.cs
- ExpressionParser.cs
- SpecialNameAttribute.cs
- NetCodeGroup.cs
- AutomationPatternInfo.cs
- PropertyMapper.cs
- BooleanAnimationBase.cs
- MsmqProcessProtocolHandler.cs
- QueryResults.cs
- StatusBar.cs
- UnsafeNativeMethods.cs
- BufferedResponseStream.cs
- EventLog.cs
- VirtualizingPanel.cs
- EntityTypeBase.cs
- QilExpression.cs
- XmlSortKey.cs
- Double.cs
- Drawing.cs
- IApplicationTrustManager.cs
- PropagationProtocolsTracing.cs
- ScaleTransform3D.cs
- WindowsMenu.cs
- ResourceExpression.cs
- SrgsRulesCollection.cs
- Helpers.cs
- OAVariantLib.cs
- AuthorizationSection.cs
- NameTable.cs
- SimplePropertyEntry.cs
- uribuilder.cs
- QilInvokeLateBound.cs
- Int64Converter.cs
- Convert.cs
- DigitShape.cs
- ComplexPropertyEntry.cs
- wgx_sdk_version.cs
- Utils.cs
- PropertyToken.cs
- Recipient.cs
- Authorization.cs
- webclient.cs
- PerformanceCounterPermissionEntryCollection.cs
- WindowsToolbarAsMenu.cs
- IIS7UserPrincipal.cs
- ListItemViewControl.cs
- ValueChangedEventManager.cs
- httpapplicationstate.cs
- RenderTargetBitmap.cs
- MemberInfoSerializationHolder.cs
- EventLogPermissionEntryCollection.cs
- UserInitiatedNavigationPermission.cs
- StreamingContext.cs
- SamlEvidence.cs
- HierarchicalDataBoundControlAdapter.cs
- DiscoveryInnerClientAdhoc11.cs
- AstTree.cs
- cookiecontainer.cs
- ToolStripDropDownClosedEventArgs.cs
- TreeNodeEventArgs.cs
- NavigationPropertySingletonExpression.cs
- ButtonBaseAutomationPeer.cs
- ViewgenContext.cs
- ReaderWriterLockWrapper.cs
- Zone.cs
- CultureInfoConverter.cs
- DiagnosticStrings.cs
- WindowsFormsHostPropertyMap.cs
- PerformanceCounterTraceRecord.cs
- ConcurrencyMode.cs
- PinnedBufferMemoryStream.cs
- QuaternionConverter.cs
- PEFileEvidenceFactory.cs
- ContentFileHelper.cs
- XmlCountingReader.cs
- ColorConverter.cs
- ImageField.cs
- DataRowChangeEvent.cs
- SQLMoney.cs
- iisPickupDirectory.cs
- InlinedAggregationOperatorEnumerator.cs
- MulticastNotSupportedException.cs
- HtmlTableRow.cs
- StreamInfo.cs
- ListBoxAutomationPeer.cs
- OutKeywords.cs
- LayoutDump.cs
- SafeUserTokenHandle.cs
- FixedSOMLineRanges.cs
- BitHelper.cs
- XPathAncestorQuery.cs
- relpropertyhelper.cs
- IntersectQueryOperator.cs
- Evidence.cs
- PropertyDescriptorGridEntry.cs