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
- StorageEndPropertyMapping.cs
- LogSwitch.cs
- ExpressionBuilderContext.cs
- WmlMobileTextWriter.cs
- Drawing.cs
- HttpSysSettings.cs
- JsonSerializer.cs
- GradientStop.cs
- EntityWithKeyStrategy.cs
- SecurityState.cs
- DrawingBrush.cs
- ObjectDataProvider.cs
- HtmlTableRow.cs
- ScrollItemProviderWrapper.cs
- StringToken.cs
- MimeMultiPart.cs
- ProtectedConfigurationSection.cs
- GraphicsPathIterator.cs
- ProtectedProviderSettings.cs
- WS2007FederationHttpBindingElement.cs
- ProjectionAnalyzer.cs
- ImplicitInputBrush.cs
- LiteralText.cs
- DispatcherObject.cs
- ObjectToIdCache.cs
- ServerValidateEventArgs.cs
- DetailsViewCommandEventArgs.cs
- SqlCrossApplyToCrossJoin.cs
- WindowAutomationPeer.cs
- QueryGeneratorBase.cs
- SqlCacheDependencySection.cs
- ListManagerBindingsCollection.cs
- serverconfig.cs
- DataPagerFieldCollection.cs
- _SSPIWrapper.cs
- AuthenticationService.cs
- DataGridColumn.cs
- BidPrivateBase.cs
- FlatButtonAppearance.cs
- XmlnsDefinitionAttribute.cs
- OutKeywords.cs
- UnhandledExceptionEventArgs.cs
- PassportIdentity.cs
- TraceUtility.cs
- RegexMatch.cs
- ListControlBoundActionList.cs
- LicFileLicenseProvider.cs
- HttpAsyncResult.cs
- ConnectionStringSettings.cs
- ToolboxItemSnapLineBehavior.cs
- InputBindingCollection.cs
- ListViewSortEventArgs.cs
- SafeSerializationManager.cs
- ValueType.cs
- QueryPageSettingsEventArgs.cs
- MenuItem.cs
- CodeGen.cs
- SplayTreeNode.cs
- ObjectStateManager.cs
- DrawingContext.cs
- TextElementAutomationPeer.cs
- Crc32.cs
- SqlConnectionHelper.cs
- XpsInterleavingPolicy.cs
- TextureBrush.cs
- DateTimeFormatInfo.cs
- path.cs
- RTLAwareMessageBox.cs
- AccessedThroughPropertyAttribute.cs
- XmlSchemaImport.cs
- SqlFormatter.cs
- BaseAsyncResult.cs
- ToolStripItemTextRenderEventArgs.cs
- CustomAttributeBuilder.cs
- SQLInt64.cs
- ForEachDesigner.xaml.cs
- TransactionValidationBehavior.cs
- GB18030Encoding.cs
- Misc.cs
- MailBnfHelper.cs
- ActivityCollectionMarkupSerializer.cs
- Math.cs
- RSAPKCS1SignatureFormatter.cs
- ReadingWritingEntityEventArgs.cs
- NameObjectCollectionBase.cs
- TimersDescriptionAttribute.cs
- SchemaEntity.cs
- DbQueryCommandTree.cs
- SecurityHelper.cs
- ComboBoxItem.cs
- SqlBinder.cs
- NavigationPropertyEmitter.cs
- ToolStripPanelDesigner.cs
- FacetChecker.cs
- CursorConverter.cs
- ISAPIApplicationHost.cs
- IncomingWebResponseContext.cs
- AutoGeneratedFieldProperties.cs
- RegexMatchCollection.cs
- DiagnosticTrace.cs