Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- XmlProcessingInstruction.cs
- RijndaelManagedTransform.cs
- RepeatButtonAutomationPeer.cs
- Int64AnimationBase.cs
- BitmapDownload.cs
- KeyToListMap.cs
- CodeObjectCreateExpression.cs
- PnrpPeerResolverElement.cs
- ConstraintCollection.cs
- NumberSubstitution.cs
- ListenerUnsafeNativeMethods.cs
- TextFormatterHost.cs
- BuiltInPermissionSets.cs
- FixedPosition.cs
- TCPListener.cs
- OptionUsage.cs
- WMIInterop.cs
- IQueryable.cs
- NotEqual.cs
- IntegerValidator.cs
- Registry.cs
- Compilation.cs
- NamespaceEmitter.cs
- ConnectivityStatus.cs
- Comparer.cs
- StorageMappingItemCollection.cs
- EncryptedData.cs
- ToolStripHighContrastRenderer.cs
- CaretElement.cs
- TypeDelegator.cs
- ByteStream.cs
- Message.cs
- PersonalizableTypeEntry.cs
- MinimizableAttributeTypeConverter.cs
- Symbol.cs
- CodeLabeledStatement.cs
- AuthenticateEventArgs.cs
- EntityDataSourceSelectingEventArgs.cs
- AspNetHostingPermission.cs
- PieceNameHelper.cs
- TransactionContext.cs
- PenThread.cs
- KnownTypesHelper.cs
- PropertyRecord.cs
- ClientBuildManager.cs
- TrackBar.cs
- FontDriver.cs
- SapiInterop.cs
- SerializationIncompleteException.cs
- ValidateNames.cs
- Win32Native.cs
- Deserializer.cs
- CacheHelper.cs
- DataGridViewCellMouseEventArgs.cs
- WindowsImpersonationContext.cs
- AdornerLayer.cs
- DesignerActionVerbList.cs
- UserNamePasswordClientCredential.cs
- ExpressionConverter.cs
- GridPattern.cs
- DataGridViewControlCollection.cs
- ObjectQuery.cs
- BrowserCapabilitiesFactoryBase.cs
- Char.cs
- Crc32.cs
- StorageInfo.cs
- XmlSignificantWhitespace.cs
- PathFigureCollection.cs
- StringSource.cs
- ComPlusDiagnosticTraceSchemas.cs
- DesignOnlyAttribute.cs
- ExecutionPropertyManager.cs
- SynthesizerStateChangedEventArgs.cs
- BoundColumn.cs
- RangeBaseAutomationPeer.cs
- ExeConfigurationFileMap.cs
- DataGridViewRow.cs
- CharacterBufferReference.cs
- NewExpression.cs
- DateTimeOffset.cs
- GridViewSelectEventArgs.cs
- CodeTypeMember.cs
- DeflateStream.cs
- ProfileElement.cs
- webbrowsersite.cs
- CategoryGridEntry.cs
- arabicshape.cs
- ControlAdapter.cs
- ConditionalAttribute.cs
- ConnectionManagementElementCollection.cs
- TextBox.cs
- DateBoldEvent.cs
- RequestSecurityToken.cs
- XamlStyleSerializer.cs
- RangeValidator.cs
- CategoryNameCollection.cs
- BrowserTree.cs
- Control.cs
- SoapMessage.cs
- Int32RectConverter.cs