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
- MetadataWorkspace.cs
- PkcsMisc.cs
- Vector.cs
- UIElementHelper.cs
- SecurityKeyIdentifier.cs
- XmlCharacterData.cs
- MatrixValueSerializer.cs
- FacetValues.cs
- OracleConnectionString.cs
- ExtenderProviderService.cs
- AutomationPattern.cs
- FontStretch.cs
- XPathArrayIterator.cs
- DBDataPermission.cs
- SqlBulkCopyColumnMappingCollection.cs
- FileDialog.cs
- QueryCacheManager.cs
- DbConvert.cs
- CellParaClient.cs
- StorageModelBuildProvider.cs
- _FtpControlStream.cs
- JpegBitmapDecoder.cs
- WebZone.cs
- StylusSystemGestureEventArgs.cs
- ControlAdapter.cs
- MailAddressCollection.cs
- ByteFacetDescriptionElement.cs
- brushes.cs
- FaultImportOptions.cs
- TypeGeneratedEventArgs.cs
- RuleProcessor.cs
- BooleanExpr.cs
- ProfileGroupSettings.cs
- LogConverter.cs
- SqlCommand.cs
- EntityType.cs
- ClientRuntimeConfig.cs
- ProcessProtocolHandler.cs
- LicenseProviderAttribute.cs
- StringKeyFrameCollection.cs
- ClientSponsor.cs
- XPathNode.cs
- DependencyPropertyKind.cs
- DbLambda.cs
- EncoderParameters.cs
- DialogResultConverter.cs
- WebServiceMethodData.cs
- HwndSourceParameters.cs
- InputMethodStateChangeEventArgs.cs
- CustomSignedXml.cs
- BamlLocalizer.cs
- EnumerableRowCollectionExtensions.cs
- SQLDecimalStorage.cs
- VirtualDirectoryMappingCollection.cs
- PointCollectionValueSerializer.cs
- SeparatorAutomationPeer.cs
- DoubleCollection.cs
- ViewStateException.cs
- UnsafeNativeMethodsMilCoreApi.cs
- assemblycache.cs
- DataServiceClientException.cs
- IsolatedStorageSecurityState.cs
- Action.cs
- ProgressChangedEventArgs.cs
- XmlSchemaValidator.cs
- TypeElement.cs
- InstanceValue.cs
- DynamicDataResources.Designer.cs
- TableHeaderCell.cs
- MimeMapping.cs
- Size3D.cs
- Enumerable.cs
- CssStyleCollection.cs
- DefinitionUpdate.cs
- SymbolEqualComparer.cs
- HttpWriter.cs
- LoginUtil.cs
- CodeComment.cs
- ErrorInfoXmlDocument.cs
- _ConnectionGroup.cs
- DelegatingTypeDescriptionProvider.cs
- MetabaseServerConfig.cs
- DataTemplateSelector.cs
- SafeSystemMetrics.cs
- OleDbSchemaGuid.cs
- SqlRowUpdatedEvent.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DataListComponentEditor.cs
- Validator.cs
- SystemNetworkInterface.cs
- DispatcherSynchronizationContext.cs
- EncoderParameter.cs
- SwitchLevelAttribute.cs
- SerializationEventsCache.cs
- ClientSession.cs
- CodeTypeDelegate.cs
- ViewStateException.cs
- DbConnectionPoolIdentity.cs
- DataSet.cs
- AtomEntry.cs