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
- StorageEntitySetMapping.cs
- XsltArgumentList.cs
- Compensate.cs
- FilteredAttributeCollection.cs
- ResourceAssociationType.cs
- TextSegment.cs
- UnauthorizedWebPart.cs
- Encoding.cs
- ContextBase.cs
- GuidTagList.cs
- DependentList.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- XmlMemberMapping.cs
- Tokenizer.cs
- XmlImplementation.cs
- JapaneseCalendar.cs
- ListenerElementsCollection.cs
- DataService.cs
- XmlDataContract.cs
- TabItemWrapperAutomationPeer.cs
- ImageFormat.cs
- FilteredAttributeCollection.cs
- SystemIcons.cs
- BulletedListEventArgs.cs
- webproxy.cs
- MetadataExchangeBindings.cs
- ObjectParameter.cs
- CompositeFontInfo.cs
- XmlIlVisitor.cs
- EventProviderWriter.cs
- OdbcConnectionOpen.cs
- DetailsViewPagerRow.cs
- CommonDialog.cs
- NameValueCollection.cs
- ClientSponsor.cs
- EnumUnknown.cs
- SerializationEventsCache.cs
- ParameterCollection.cs
- BitmapEffectCollection.cs
- BitmapEffectGeneralTransform.cs
- EventManager.cs
- DiscardableAttribute.cs
- UnsafeNetInfoNativeMethods.cs
- SslStreamSecurityElement.cs
- EventDescriptorCollection.cs
- Axis.cs
- SchemaTableColumn.cs
- Int32KeyFrameCollection.cs
- ReflectionHelper.cs
- DataListItemEventArgs.cs
- TrustLevelCollection.cs
- PerformanceCounterManager.cs
- TabPage.cs
- COSERVERINFO.cs
- SafeWaitHandle.cs
- PreviewPageInfo.cs
- CutCopyPasteHelper.cs
- BindToObject.cs
- XmlSerializerFaultFormatter.cs
- QueryExecutionOption.cs
- SiteMapSection.cs
- BamlMapTable.cs
- EventLogConfiguration.cs
- MetafileHeader.cs
- SchemaComplexType.cs
- Win32KeyboardDevice.cs
- StreamResourceInfo.cs
- EnumUnknown.cs
- EntityConnectionStringBuilder.cs
- CustomAttributeFormatException.cs
- ArcSegment.cs
- SQLDecimalStorage.cs
- XmlElementAttribute.cs
- RealProxy.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- TextTreeNode.cs
- CFGGrammar.cs
- StopStoryboard.cs
- IgnoreDataMemberAttribute.cs
- CookielessHelper.cs
- IisTraceWebEventProvider.cs
- SqlBinder.cs
- ConsumerConnectionPoint.cs
- ZipPackage.cs
- CalendarDesigner.cs
- DataGridTextBox.cs
- ControlAdapter.cs
- ResourceExpressionEditorSheet.cs
- MouseGestureConverter.cs
- BaseValidator.cs
- UnionCqlBlock.cs
- VarRefManager.cs
- InputLanguageCollection.cs
- ProfileService.cs
- _Connection.cs
- SqlHelper.cs
- PageSettings.cs
- AnimatedTypeHelpers.cs
- NumberFormatInfo.cs
- HelpProvider.cs