Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- RuntimeEnvironment.cs
- __Error.cs
- AspNetSynchronizationContext.cs
- AccessText.cs
- EasingKeyFrames.cs
- Point3DKeyFrameCollection.cs
- SchemaCollectionCompiler.cs
- Int32Collection.cs
- SettingsBase.cs
- DataMemberListEditor.cs
- SqlRowUpdatedEvent.cs
- BamlTreeNode.cs
- Cell.cs
- MediaTimeline.cs
- StdRegProviderWrapper.cs
- NotCondition.cs
- KeyConverter.cs
- DbConnectionClosed.cs
- NetWebProxyFinder.cs
- ListView.cs
- WindowsButton.cs
- AddressHeader.cs
- ControlCollection.cs
- ObjectStorage.cs
- HebrewCalendar.cs
- MediaContextNotificationWindow.cs
- ItemMap.cs
- DataGridTable.cs
- IdentitySection.cs
- CodeGotoStatement.cs
- DataConnectionHelper.cs
- CompilerCollection.cs
- ReachDocumentReferenceSerializerAsync.cs
- LayoutTable.cs
- formatter.cs
- ByteRangeDownloader.cs
- CodeBlockBuilder.cs
- HttpListenerRequest.cs
- DbTransaction.cs
- MeasureItemEvent.cs
- UseAttributeSetsAction.cs
- SafeSecurityHelper.cs
- ResetableIterator.cs
- ConnectionPoint.cs
- DataGridViewTopRowAccessibleObject.cs
- SaveRecipientRequest.cs
- DataColumnPropertyDescriptor.cs
- DescriptionAttribute.cs
- QilInvoke.cs
- XNameTypeConverter.cs
- MergablePropertyAttribute.cs
- SecureConversationServiceCredential.cs
- DataComponentNameHandler.cs
- TemplateControlBuildProvider.cs
- MDIClient.cs
- RemoveStoryboard.cs
- RelationshipConstraintValidator.cs
- RowCache.cs
- XPathAxisIterator.cs
- ReliableSessionElement.cs
- Panel.cs
- RightsManagementUser.cs
- StatusBar.cs
- WorkItem.cs
- TemplateXamlParser.cs
- LambdaCompiler.Binary.cs
- CatalogPartDesigner.cs
- MethodRental.cs
- mediaclock.cs
- VirtualDirectoryMappingCollection.cs
- SliderAutomationPeer.cs
- SoapElementAttribute.cs
- AppDomainGrammarProxy.cs
- TextEditorParagraphs.cs
- CardSpacePolicyElement.cs
- Tuple.cs
- AccessDataSource.cs
- AspCompat.cs
- PointCollection.cs
- StartUpEventArgs.cs
- ToggleProviderWrapper.cs
- X500Name.cs
- UnhandledExceptionEventArgs.cs
- GPPOINT.cs
- SynchronizedDispatch.cs
- OracleLob.cs
- MessageQueueKey.cs
- ByteAnimation.cs
- EventlogProvider.cs
- AlphabetConverter.cs
- MergeFailedEvent.cs
- TaskFileService.cs
- Array.cs
- ThreadAttributes.cs
- OutputCacheProfile.cs
- ColumnMapProcessor.cs
- SoapFault.cs
- UnsafePeerToPeerMethods.cs
- SoapObjectInfo.cs
- HyperLinkColumn.cs