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
- XamlWriter.cs
- Filter.cs
- SystemIcmpV4Statistics.cs
- SearchForVirtualItemEventArgs.cs
- PageContentCollection.cs
- GZipDecoder.cs
- TextClipboardData.cs
- WindowsTokenRoleProvider.cs
- ApplicationId.cs
- SplitterEvent.cs
- ImageSource.cs
- MetricEntry.cs
- OdbcConnectionHandle.cs
- CultureInfoConverter.cs
- WebPartTransformer.cs
- DbConnectionPoolIdentity.cs
- EntityCommand.cs
- FragmentQuery.cs
- TextRange.cs
- StrongNameUtility.cs
- EventQueueState.cs
- ObsoleteAttribute.cs
- ConfigurationElementProperty.cs
- ByteStream.cs
- MouseButton.cs
- FontStyles.cs
- Properties.cs
- TextElementAutomationPeer.cs
- EncoderExceptionFallback.cs
- LicenseContext.cs
- HtmlElement.cs
- AssemblyCacheEntry.cs
- StdValidatorsAndConverters.cs
- OledbConnectionStringbuilder.cs
- BezierSegment.cs
- WinFormsUtils.cs
- Helpers.cs
- Event.cs
- RowsCopiedEventArgs.cs
- Pen.cs
- XmlSchemaAny.cs
- ComUdtElement.cs
- DropShadowEffect.cs
- NativeRightsManagementAPIsStructures.cs
- SequenceDesigner.cs
- DetailsViewModeEventArgs.cs
- Frame.cs
- SQLConvert.cs
- OleTxTransactionInfo.cs
- TemplatedWizardStep.cs
- HttpConfigurationContext.cs
- ProjectionPruner.cs
- Identity.cs
- MetadataArtifactLoaderCompositeResource.cs
- OdbcDataAdapter.cs
- SafeThemeHandle.cs
- CompositeActivityDesigner.cs
- ArglessEventHandlerProxy.cs
- BezierSegment.cs
- Effect.cs
- Graphics.cs
- OleCmdHelper.cs
- Transform3DCollection.cs
- DataServiceQueryOfT.cs
- FormsAuthenticationUser.cs
- StringAttributeCollection.cs
- Point3DConverter.cs
- Msec.cs
- TemplateDefinition.cs
- XmlAttributeAttribute.cs
- IndexedEnumerable.cs
- ContainerVisual.cs
- ShellProvider.cs
- DomainUpDown.cs
- DataColumnMappingCollection.cs
- MorphHelpers.cs
- Rotation3DKeyFrameCollection.cs
- WindowsFormsHostAutomationPeer.cs
- XmlCharType.cs
- ClientCredentialsElement.cs
- EditingCommands.cs
- SqlCommandBuilder.cs
- WebPartManager.cs
- MimeTypeAttribute.cs
- ReadWriteObjectLock.cs
- DesignerAttribute.cs
- SqlConnectionFactory.cs
- WindowsPen.cs
- WebPartConnectionsCloseVerb.cs
- TabControlEvent.cs
- ParallelQuery.cs
- XmlLinkedNode.cs
- ListArgumentProvider.cs
- AdornerPresentationContext.cs
- DocumentNUp.cs
- ListCollectionView.cs
- EmissiveMaterial.cs
- XamlDesignerSerializationManager.cs
- SerializationAttributes.cs
- DataGridViewCellCancelEventArgs.cs