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
- QueryPageSettingsEventArgs.cs
- WinEventQueueItem.cs
- RadioButton.cs
- PointAnimationBase.cs
- ProfessionalColorTable.cs
- DataGridViewRowStateChangedEventArgs.cs
- MessageBox.cs
- DefaultBinder.cs
- SynchronizedCollection.cs
- SafeThreadHandle.cs
- PrinterResolution.cs
- WebPartDisplayModeCollection.cs
- MetadataProperty.cs
- Executor.cs
- DataGridItem.cs
- ArgumentElement.cs
- Assert.cs
- documentation.cs
- TraceHwndHost.cs
- ProcessHostFactoryHelper.cs
- Configuration.cs
- DataGridTextBoxColumn.cs
- ToolStripDropDownClosingEventArgs.cs
- ServicesUtilities.cs
- TransportBindingElement.cs
- GridViewColumnHeaderAutomationPeer.cs
- TreeViewAutomationPeer.cs
- MergeLocalizationDirectives.cs
- TreeNodeCollection.cs
- WebPartConnectionCollection.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- ReadOnlyMetadataCollection.cs
- PageAsyncTask.cs
- CursorInteropHelper.cs
- RemoteWebConfigurationHostServer.cs
- InfoCardServiceInstallComponent.cs
- BoundField.cs
- ModuleBuilder.cs
- Parser.cs
- TextParagraphProperties.cs
- WebPartTransformerCollection.cs
- TaskFormBase.cs
- Native.cs
- BamlVersionHeader.cs
- SecurityTokenInclusionMode.cs
- DesignerEditorPartChrome.cs
- PlatformCulture.cs
- ExtractCollection.cs
- CodeNamespaceImportCollection.cs
- XsdBuildProvider.cs
- PermissionListSet.cs
- InvalidDataException.cs
- GrammarBuilder.cs
- XmlSerializationWriter.cs
- LogoValidationException.cs
- MouseEventArgs.cs
- SelectedGridItemChangedEvent.cs
- DocumentXmlWriter.cs
- WebPartAuthorizationEventArgs.cs
- SqlMethods.cs
- TreeNode.cs
- CommandID.cs
- ModuleBuilderData.cs
- AtomicFile.cs
- TreeView.cs
- SoapInteropTypes.cs
- XmlLoader.cs
- EffectiveValueEntry.cs
- HttpCachePolicyElement.cs
- TabRenderer.cs
- ISFTagAndGuidCache.cs
- XmlSchemaElement.cs
- WorkflowHostingEndpoint.cs
- ArrayWithOffset.cs
- AppearanceEditorPart.cs
- PropertyMetadata.cs
- PseudoWebRequest.cs
- DesignerTextBoxAdapter.cs
- FontFamilyValueSerializer.cs
- ListBox.cs
- XPathLexer.cs
- WindowsStatusBar.cs
- ComponentChangingEvent.cs
- QueryCursorEventArgs.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SerializationBinder.cs
- XmlSchemaValidationException.cs
- ClickablePoint.cs
- DispatcherObject.cs
- SqlWorkflowInstanceStore.cs
- KeyEvent.cs
- PreviewKeyDownEventArgs.cs
- TemplateModeChangedEventArgs.cs
- SinglePageViewer.cs
- MobileCapabilities.cs
- DynamicActivityXamlReader.cs
- VectorCollection.cs
- SiteOfOriginPart.cs
- AutoCompleteStringCollection.cs
- QueryExpr.cs