Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / ListViewSortEventArgs.cs / 1 / ListViewSortEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ListViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; public ListViewSortEventArgs(string sortExpression, SortDirection sortDirection) : base(false) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ////// 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. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ListViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; public ListViewSortEventArgs(string sortExpression, SortDirection sortDirection) : base(false) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ////// 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
- DefaultDialogButtons.cs
- TemplateKey.cs
- TailCallAnalyzer.cs
- X509CertificateCollection.cs
- TextBlockAutomationPeer.cs
- CachedPathData.cs
- DataBinder.cs
- Scripts.cs
- DataRowCollection.cs
- ObjectSet.cs
- BeginGetFileNameFromUserRequest.cs
- BindingNavigatorDesigner.cs
- DbProviderServices.cs
- _NegotiateClient.cs
- Assembly.cs
- AsyncCompletedEventArgs.cs
- FixedStringLookup.cs
- PrintDialogException.cs
- TypeTypeConverter.cs
- FacetEnabledSchemaElement.cs
- FormsAuthenticationUser.cs
- ArraySortHelper.cs
- grammarelement.cs
- ListMarkerSourceInfo.cs
- COM2IPerPropertyBrowsingHandler.cs
- ConstraintCollection.cs
- OverrideMode.cs
- MenuItemAutomationPeer.cs
- Dispatcher.cs
- HttpContextServiceHost.cs
- DesignerDataStoredProcedure.cs
- Condition.cs
- XmlSchemaAny.cs
- BuildProvider.cs
- ISessionStateStore.cs
- CodeTypeReference.cs
- GenericAuthenticationEventArgs.cs
- UnknownBitmapEncoder.cs
- XmlFileEditor.cs
- UrlMappingCollection.cs
- BCLDebug.cs
- AdornedElementPlaceholder.cs
- BinaryNode.cs
- MbpInfo.cs
- EntityWrapper.cs
- ScriptManager.cs
- ContainerCodeDomSerializer.cs
- HtmlEmptyTagControlBuilder.cs
- HtmlTableRow.cs
- ScriptReferenceEventArgs.cs
- ListViewDeleteEventArgs.cs
- RequestSecurityTokenResponseCollection.cs
- ResourceDescriptionAttribute.cs
- UrlPath.cs
- VisualTransition.cs
- HwndSourceKeyboardInputSite.cs
- OutputCacheSection.cs
- SelectionChangedEventArgs.cs
- ResourceProviderFactory.cs
- SqlProviderUtilities.cs
- DataSetFieldSchema.cs
- _HTTPDateParse.cs
- Section.cs
- CodeAttributeArgument.cs
- RSAPKCS1KeyExchangeFormatter.cs
- SourceElementsCollection.cs
- SqlRetyper.cs
- SqlMultiplexer.cs
- UInt64Storage.cs
- ImageClickEventArgs.cs
- FlowDocumentReader.cs
- KerberosSecurityTokenAuthenticator.cs
- StringAttributeCollection.cs
- Typography.cs
- ToolZone.cs
- Italic.cs
- PreparingEnlistment.cs
- GridViewSelectEventArgs.cs
- IdleTimeoutMonitor.cs
- BuildResultCache.cs
- XmlEntity.cs
- FactorySettingsElement.cs
- ModelEditingScope.cs
- AuditLog.cs
- SiteMapProvider.cs
- SimpleBitVector32.cs
- ForceCopyBuildProvider.cs
- TextBox.cs
- Behavior.cs
- CollectionViewProxy.cs
- AppDomainGrammarProxy.cs
- ScriptHandlerFactory.cs
- IApplicationTrustManager.cs
- ForEachAction.cs
- InkPresenter.cs
- COM2PropertyBuilderUITypeEditor.cs
- EntityCommandDefinition.cs
- RequestContextBase.cs
- XmlChildNodes.cs
- XmlSerializerOperationBehavior.cs