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
- ReadOnlyDictionary.cs
- RegexGroupCollection.cs
- UnitControl.cs
- ContextDataSource.cs
- ListControlConvertEventArgs.cs
- ConnectivityStatus.cs
- ExpressionCopier.cs
- System.Data.OracleClient_BID.cs
- X509IssuerSerialKeyIdentifierClause.cs
- StringAnimationUsingKeyFrames.cs
- SortAction.cs
- Columns.cs
- GridView.cs
- TraceListener.cs
- ModuleElement.cs
- EmbeddedMailObject.cs
- DynamicMetaObject.cs
- SafeCryptoHandles.cs
- TypedServiceOperationListItem.cs
- CommandID.cs
- TextSelectionProcessor.cs
- Int16AnimationBase.cs
- CngKeyCreationParameters.cs
- DataGrid.cs
- SqlServices.cs
- TemplateContentLoader.cs
- WebExceptionStatus.cs
- ComponentResourceManager.cs
- AvTraceDetails.cs
- handlecollector.cs
- HttpContextBase.cs
- ConfigurationStrings.cs
- TextTreeUndo.cs
- SqlError.cs
- UpdatePanelControlTrigger.cs
- TemplatedMailWebEventProvider.cs
- HttpFileCollection.cs
- ToolStripAdornerWindowService.cs
- UrlAuthFailedErrorFormatter.cs
- ContextMenuAutomationPeer.cs
- StylusOverProperty.cs
- XamlSerializerUtil.cs
- FloatUtil.cs
- DbDataAdapter.cs
- IpcServerChannel.cs
- FontFamilyIdentifier.cs
- ToolStripItemImageRenderEventArgs.cs
- OracleColumn.cs
- WebPartTransformerCollection.cs
- StorageBasedPackageProperties.cs
- IgnoreSection.cs
- OleStrCAMarshaler.cs
- FixedDocumentSequencePaginator.cs
- OdbcEnvironment.cs
- TraceLevelHelper.cs
- Utils.cs
- IItemProperties.cs
- TraceHandler.cs
- AdPostCacheSubstitution.cs
- CompatibleComparer.cs
- IListConverters.cs
- SetterBaseCollection.cs
- PageAsyncTask.cs
- TreeViewCancelEvent.cs
- WebBaseEventKeyComparer.cs
- ZoneIdentityPermission.cs
- SqlCacheDependencyDatabaseCollection.cs
- SqlClientPermission.cs
- PenCursorManager.cs
- AbstractSvcMapFileLoader.cs
- PassportAuthenticationModule.cs
- ReadOnlyHierarchicalDataSource.cs
- InfiniteIntConverter.cs
- MonitoringDescriptionAttribute.cs
- DiscoveryInnerClientManaged11.cs
- StatusInfoItem.cs
- X509CertificateCollection.cs
- WebPartPersonalization.cs
- COM2IDispatchConverter.cs
- WebPartChrome.cs
- FeatureSupport.cs
- SynchronousChannelMergeEnumerator.cs
- Int16Converter.cs
- DataSourceHelper.cs
- TimeZoneNotFoundException.cs
- ThousandthOfEmRealDoubles.cs
- AutoFocusStyle.xaml.cs
- DeviceSpecificChoiceCollection.cs
- CalendarDayButton.cs
- MasterPageParser.cs
- FontWeights.cs
- ChannelTerminatedException.cs
- SettingsAttributeDictionary.cs
- AudioFormatConverter.cs
- XsltCompileContext.cs
- TextBoxBase.cs
- Privilege.cs
- DataGridViewColumnCollection.cs
- ProtocolImporter.cs
- UnicodeEncoding.cs