Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- _ShellExpression.cs
- PersistenceTypeAttribute.cs
- SqlColumnizer.cs
- RuntimeArgumentHandle.cs
- DefaultParameterValueAttribute.cs
- PathFigureCollection.cs
- EndpointConfigContainer.cs
- ProjectionCamera.cs
- BreakRecordTable.cs
- DocumentViewerHelper.cs
- PerformanceCounterCategory.cs
- AllMembershipCondition.cs
- ToolStripRenderer.cs
- NumberFormatInfo.cs
- TransactedBatchingBehavior.cs
- MaskedTextProvider.cs
- ClientSideQueueItem.cs
- TextureBrush.cs
- XamlToRtfWriter.cs
- RenderContext.cs
- SoapSchemaExporter.cs
- Metadata.cs
- NullableDecimalAverageAggregationOperator.cs
- PieceNameHelper.cs
- AuthenticationManager.cs
- TableCellAutomationPeer.cs
- xmlsaver.cs
- DockProviderWrapper.cs
- ReferentialConstraint.cs
- ListViewItem.cs
- XmlLanguageConverter.cs
- UnaryExpression.cs
- TypeElementCollection.cs
- InvalidDocumentContentsException.cs
- DES.cs
- Command.cs
- autovalidator.cs
- XmlRawWriter.cs
- Quaternion.cs
- VarInfo.cs
- PermissionAttributes.cs
- LineProperties.cs
- TextEmbeddedObject.cs
- RoutingSection.cs
- ImportCatalogPart.cs
- DoubleAnimationBase.cs
- TCEAdapterGenerator.cs
- PenLineCapValidation.cs
- PartBasedPackageProperties.cs
- HttpClientCertificate.cs
- TraversalRequest.cs
- ConnectionModeReader.cs
- ModifierKeysValueSerializer.cs
- TableLayoutCellPaintEventArgs.cs
- CodeAssignStatement.cs
- DetailsViewCommandEventArgs.cs
- XmlSchemaSimpleContentExtension.cs
- OleDbParameter.cs
- BatchStream.cs
- TouchEventArgs.cs
- SessionSwitchEventArgs.cs
- SimpleType.cs
- DbDataRecord.cs
- DataServiceProcessingPipelineEventArgs.cs
- SectionXmlInfo.cs
- HtmlMeta.cs
- SRGSCompiler.cs
- List.cs
- PngBitmapDecoder.cs
- DocumentPage.cs
- EntityFunctions.cs
- DynamicResourceExtension.cs
- RectangleConverter.cs
- ExpressionConverter.cs
- Int32CAMarshaler.cs
- WebBrowserDocumentCompletedEventHandler.cs
- AuthorizationRuleCollection.cs
- Symbol.cs
- ComponentDispatcherThread.cs
- DataGridViewButtonCell.cs
- Screen.cs
- VirtualPathUtility.cs
- SamlAuthorizationDecisionClaimResource.cs
- Crc32.cs
- InfoCardKeyedHashAlgorithm.cs
- AuthenticationService.cs
- BaseTemplateBuildProvider.cs
- StringCollectionEditor.cs
- DoubleAnimationUsingKeyFrames.cs
- DBDataPermissionAttribute.cs
- ScriptResourceHandler.cs
- SerializationException.cs
- HMACSHA256.cs
- LowerCaseStringConverter.cs
- TableItemProviderWrapper.cs
- ObjectCloneHelper.cs
- BindingUtils.cs
- ProtectedConfigurationSection.cs
- util.cs
- Vector3D.cs