Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; ///Provides data for the ///event of a . /// /// public GridViewSortEventArgs(string sortExpression, SortDirection sortDirection) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ///Initializes a new instance of the ///class. /// public SortDirection SortDirection { get { return _sortDirection; } set { _sortDirection = value; } } ///Gets the direction used to sort. ////// public string SortExpression { get { return _sortExpression; } set { _sortExpression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the expression used to sort. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; ///Provides data for the ///event of a . /// /// public GridViewSortEventArgs(string sortExpression, SortDirection sortDirection) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ///Initializes a new instance of the ///class. /// public SortDirection SortDirection { get { return _sortDirection; } set { _sortDirection = value; } } ///Gets the direction used to sort. ////// public string SortExpression { get { return _sortExpression; } set { _sortExpression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the expression used to sort. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataChangedEventManager.cs
- ParserStack.cs
- UserValidatedEventArgs.cs
- NamedPipeTransportSecurity.cs
- ResourceReferenceExpressionConverter.cs
- OneOf.cs
- StringDictionary.cs
- QuaternionKeyFrameCollection.cs
- ParentUndoUnit.cs
- ZoomPercentageConverter.cs
- ThemeInfoAttribute.cs
- SynchronizedDisposablePool.cs
- BaseDataListComponentEditor.cs
- PageContent.cs
- Wildcard.cs
- ServiceDescription.cs
- AtlasWeb.Designer.cs
- AssertSection.cs
- TCEAdapterGenerator.cs
- ProfileParameter.cs
- CommandConverter.cs
- PipelineModuleStepContainer.cs
- Emitter.cs
- DesignBindingPropertyDescriptor.cs
- ConfigurationFileMap.cs
- NonPrimarySelectionGlyph.cs
- ConsumerConnectionPointCollection.cs
- TypefaceCollection.cs
- UserControlCodeDomTreeGenerator.cs
- DataRow.cs
- NeedSkipTokenVisitor.cs
- Point4D.cs
- ControlBuilder.cs
- StorageMappingItemLoader.cs
- SetStateEventArgs.cs
- NamedPipeAppDomainProtocolHandler.cs
- ObjRef.cs
- MimePart.cs
- ValidatedControlConverter.cs
- TableProviderWrapper.cs
- SvcMapFileLoader.cs
- OleDbConnection.cs
- Stack.cs
- StreamReader.cs
- XmlNullResolver.cs
- ConnectionStringsExpressionBuilder.cs
- ReadOnlyNameValueCollection.cs
- OperationCanceledException.cs
- Perspective.cs
- DataGridSortingEventArgs.cs
- SerializationAttributes.cs
- PathFigureCollectionValueSerializer.cs
- GridItemProviderWrapper.cs
- Configuration.cs
- ActivityAction.cs
- ResourcePool.cs
- ParserHooks.cs
- EpmContentDeSerializer.cs
- ImmutableObjectAttribute.cs
- SqlCacheDependencyDatabase.cs
- PrimitiveSchema.cs
- TrackBarDesigner.cs
- UdpReplyToBehavior.cs
- EdmProperty.cs
- mactripleDES.cs
- ConfigurationLockCollection.cs
- QueryGenerator.cs
- ControlDesigner.cs
- ResourcesBuildProvider.cs
- FontNameEditor.cs
- ActiveDesignSurfaceEvent.cs
- TextEmbeddedObject.cs
- _ListenerResponseStream.cs
- Assert.cs
- ContentValidator.cs
- DataSetMappper.cs
- PaintEvent.cs
- SafeEventLogWriteHandle.cs
- XmlElementCollection.cs
- Table.cs
- SmtpNegotiateAuthenticationModule.cs
- CultureInfo.cs
- RegisteredDisposeScript.cs
- ExtendedPropertyDescriptor.cs
- AutomationPropertyInfo.cs
- SessionViewState.cs
- SqlCacheDependencyDatabaseCollection.cs
- CodeLabeledStatement.cs
- LocalFileSettingsProvider.cs
- BevelBitmapEffect.cs
- ArrayExtension.cs
- DataControlExtensions.cs
- FramingFormat.cs
- XmlDictionary.cs
- PackageRelationshipCollection.cs
- ComponentCommands.cs
- TextTreeRootTextBlock.cs
- NumberFunctions.cs
- ToolboxDataAttribute.cs
- ByteKeyFrameCollection.cs