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
- NavigatorOutput.cs
- HttpsTransportElement.cs
- TemplateParser.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DataObject.cs
- XmlILIndex.cs
- CustomActivityDesigner.cs
- SubMenuStyle.cs
- UnhandledExceptionEventArgs.cs
- InternalConfigConfigurationFactory.cs
- XhtmlBasicLiteralTextAdapter.cs
- XamlInt32CollectionSerializer.cs
- ArraySet.cs
- SerialStream.cs
- RSAPKCS1SignatureDeformatter.cs
- ActivityBuilderXamlWriter.cs
- PersonalizationStateInfo.cs
- AppManager.cs
- XMLSchema.cs
- PackUriHelper.cs
- ExtentCqlBlock.cs
- ScalarConstant.cs
- SiteMapSection.cs
- CanonicalFontFamilyReference.cs
- COM2IProvidePropertyBuilderHandler.cs
- UnwrappedTypesXmlSerializerManager.cs
- NativeCompoundFileAPIs.cs
- DataSet.cs
- FunctionNode.cs
- FixedBufferAttribute.cs
- OleDbConnectionInternal.cs
- CoTaskMemUnicodeSafeHandle.cs
- SqlDataRecord.cs
- SqlParameterCollection.cs
- RelationshipEndCollection.cs
- COM2ExtendedBrowsingHandler.cs
- BindableAttribute.cs
- TransformerTypeCollection.cs
- AssertValidation.cs
- XmlSchemaCollection.cs
- connectionpool.cs
- GeometryHitTestResult.cs
- ActivityTypeCodeDomSerializer.cs
- SafeNativeMethodsCLR.cs
- TextModifier.cs
- AddInBase.cs
- RoutedEventHandlerInfo.cs
- XamlTreeBuilder.cs
- UxThemeWrapper.cs
- EntityChangedParams.cs
- ReceiveActivityDesigner.cs
- AddInServer.cs
- TextSelectionHelper.cs
- OracleBoolean.cs
- RangeValueProviderWrapper.cs
- NamedPipeHostedTransportConfiguration.cs
- Point.cs
- Rotation3DAnimationBase.cs
- AxHost.cs
- DataGridViewCellCollection.cs
- WindowsFormsSynchronizationContext.cs
- EntityViewContainer.cs
- AlignmentYValidation.cs
- ProfilePropertySettingsCollection.cs
- WebServiceHandler.cs
- ForEach.cs
- ContextMenuAutomationPeer.cs
- HtmlTextBoxAdapter.cs
- ConfigurationValidatorBase.cs
- Interop.cs
- Mappings.cs
- versioninfo.cs
- LabelLiteral.cs
- XmlMapping.cs
- XmlTextReaderImpl.cs
- KeyMatchBuilder.cs
- SerializationSectionGroup.cs
- Latin1Encoding.cs
- OutputCacheProfileCollection.cs
- ZoneLinkButton.cs
- BaseTreeIterator.cs
- Array.cs
- ContainsRowNumberChecker.cs
- BlockCollection.cs
- DialogWindow.cs
- FillErrorEventArgs.cs
- TransportContext.cs
- FontNamesConverter.cs
- XmlSignificantWhitespace.cs
- EventHandlers.cs
- XmlObjectSerializerContext.cs
- input.cs
- PropertyChangingEventArgs.cs
- DesignerDataTableBase.cs
- AspProxy.cs
- OuterProxyWrapper.cs
- BuildResultCache.cs
- XmlElementList.cs
- ClassHandlersStore.cs
- ControlPropertyNameConverter.cs