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
- PageStatePersister.cs
- DescriptionAttribute.cs
- WebConfigurationFileMap.cs
- PeerNameRecord.cs
- DesignTimeVisibleAttribute.cs
- XdrBuilder.cs
- ScriptingSectionGroup.cs
- RadioButtonRenderer.cs
- HotSpotCollection.cs
- TypeGeneratedEventArgs.cs
- WorkflowInstanceProxy.cs
- TempFiles.cs
- Help.cs
- ParamArrayAttribute.cs
- EntityDataSourceWrapper.cs
- BooleanAnimationBase.cs
- ProxySimple.cs
- UnaryOperationBinder.cs
- ContextQuery.cs
- SendingRequestEventArgs.cs
- SqlDataSource.cs
- ApplicationServiceHelper.cs
- FragmentQueryProcessor.cs
- HashHelpers.cs
- MailBnfHelper.cs
- ControlValuePropertyAttribute.cs
- DrawingAttributeSerializer.cs
- SafeNativeMethods.cs
- RuleRef.cs
- WindowsEditBoxRange.cs
- PagedDataSource.cs
- CodeExporter.cs
- SizeAnimationUsingKeyFrames.cs
- ImportContext.cs
- SqlReorderer.cs
- CommittableTransaction.cs
- BuiltInExpr.cs
- FormViewRow.cs
- SQLBytesStorage.cs
- TlsnegoTokenAuthenticator.cs
- DeviceFilterEditorDialog.cs
- ISAPIRuntime.cs
- HttpModuleActionCollection.cs
- MediaScriptCommandRoutedEventArgs.cs
- RepeatBehaviorConverter.cs
- CredentialCache.cs
- TextParagraphProperties.cs
- XamlBrushSerializer.cs
- ToolStripStatusLabel.cs
- SpecialFolderEnumConverter.cs
- KeyedCollection.cs
- ToolStripMenuItemDesigner.cs
- SoapElementAttribute.cs
- AtomServiceDocumentSerializer.cs
- HtmlInputHidden.cs
- FontTypeConverter.cs
- XpsResource.cs
- WebBrowserContainer.cs
- AttributeData.cs
- SqlDependencyListener.cs
- ObjectDataSourceMethodEventArgs.cs
- Soap.cs
- XomlCompilerParameters.cs
- TimerElapsedEvenArgs.cs
- TypeSource.cs
- RawStylusInputCustomDataList.cs
- XmlDictionaryReader.cs
- HtmlTableCellCollection.cs
- DataQuery.cs
- RelationshipConverter.cs
- SafeHandles.cs
- OpenTypeLayoutCache.cs
- Clipboard.cs
- DesignParameter.cs
- WebControlAdapter.cs
- nulltextnavigator.cs
- DynamicResourceExtensionConverter.cs
- PointAnimationClockResource.cs
- FamilyTypeface.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- SQLCharsStorage.cs
- MeasureItemEvent.cs
- ListDataBindEventArgs.cs
- XPathScanner.cs
- WebBaseEventKeyComparer.cs
- CodeRemoveEventStatement.cs
- DataGridViewDataConnection.cs
- DetailsViewCommandEventArgs.cs
- CryptographicAttribute.cs
- QilInvoke.cs
- HtmlTernaryTree.cs
- EmbeddedObject.cs
- ContractSearchPattern.cs
- Hash.cs
- PersonalizationProvider.cs
- HttpResponse.cs
- SurrogateEncoder.cs
- LicenseContext.cs
- XmlEncodedRawTextWriter.cs
- BinaryKeyIdentifierClause.cs