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
- PolicyStatement.cs
- WebPartTransformer.cs
- GridPattern.cs
- XmlSchemaInfo.cs
- SqlVisitor.cs
- ProxyWebPart.cs
- RoutedEventConverter.cs
- BinaryObjectWriter.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ActivityExecutorDelegateInfo.cs
- BitmapEffectrendercontext.cs
- AtomicFile.cs
- WorkflowInstance.cs
- JapaneseCalendar.cs
- FamilyMapCollection.cs
- TimelineGroup.cs
- BamlBinaryReader.cs
- SqlConnectionPoolGroupProviderInfo.cs
- WebPartsPersonalizationAuthorization.cs
- NameSpaceExtractor.cs
- DbMetaDataFactory.cs
- ArraySubsetEnumerator.cs
- ValueTypeFixupInfo.cs
- BufferedWebEventProvider.cs
- SelectedCellsChangedEventArgs.cs
- RecognizeCompletedEventArgs.cs
- EventLogger.cs
- ConfigXmlCDataSection.cs
- TraceSwitch.cs
- ThreadInterruptedException.cs
- PolyLineSegment.cs
- RemotingConfiguration.cs
- DataPager.cs
- PrintPreviewDialog.cs
- RuntimeVariablesExpression.cs
- WebHttpDispatchOperationSelectorData.cs
- RowType.cs
- DBBindings.cs
- PeerCredential.cs
- OutputCacheProfile.cs
- PnrpPermission.cs
- HttpRuntime.cs
- ReceiveActivityValidator.cs
- Properties.cs
- TdsParserSafeHandles.cs
- SQLDateTime.cs
- ResourceProviderFactory.cs
- DictionaryGlobals.cs
- ListSourceHelper.cs
- ViewStateException.cs
- FontStretch.cs
- FormsAuthenticationUserCollection.cs
- OracleDataReader.cs
- MemberProjectedSlot.cs
- ActionFrame.cs
- ConfigXmlDocument.cs
- PropertyTab.cs
- SettingsSection.cs
- DecoderNLS.cs
- RuntimeVariableList.cs
- TransformProviderWrapper.cs
- SQLInt16.cs
- MultiPartWriter.cs
- RoutedPropertyChangedEventArgs.cs
- GenericTypeParameterBuilder.cs
- AQNBuilder.cs
- CharAnimationUsingKeyFrames.cs
- WorkflowQueuingService.cs
- LineInfo.cs
- HtmlElementErrorEventArgs.cs
- SqlTriggerAttribute.cs
- NameNode.cs
- CommonRemoteMemoryBlock.cs
- BoundField.cs
- EventInfo.cs
- AssociationSetEnd.cs
- PageRanges.cs
- RawKeyboardInputReport.cs
- XPathBuilder.cs
- ExpandedWrapper.cs
- DocumentApplication.cs
- DocumentGrid.cs
- ProfileService.cs
- SchemaCollectionCompiler.cs
- FileDataSourceCache.cs
- ErrorStyle.cs
- precedingquery.cs
- TypeProvider.cs
- CheckBoxField.cs
- SQLChars.cs
- Int64Converter.cs
- AmbientValueAttribute.cs
- ToggleProviderWrapper.cs
- BufferedGraphicsContext.cs
- DesignerCommandAdapter.cs
- GridItemPattern.cs
- ComplexBindingPropertiesAttribute.cs
- AppSettingsExpressionBuilder.cs
- PolyLineSegment.cs
- InputMethodStateChangeEventArgs.cs