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
- UrlMappingCollection.cs
- StrokeIntersection.cs
- RangeValidator.cs
- DataGridViewLinkCell.cs
- IApplicationTrustManager.cs
- BindableAttribute.cs
- SqlMethods.cs
- CursorEditor.cs
- _TLSstream.cs
- CryptoConfig.cs
- SystemKeyConverter.cs
- WebPartUtil.cs
- SoapTypeAttribute.cs
- XamlDesignerSerializationManager.cs
- regiisutil.cs
- Mappings.cs
- AssociationTypeEmitter.cs
- ObjectRef.cs
- HtmlTableCell.cs
- CalendarTable.cs
- WindowsIdentity.cs
- LayoutTable.cs
- _BaseOverlappedAsyncResult.cs
- BookmarkEventArgs.cs
- Matrix.cs
- StorageAssociationSetMapping.cs
- ApplicationInfo.cs
- StylusButtonEventArgs.cs
- ByteStreamGeometryContext.cs
- BigInt.cs
- ServicePointManager.cs
- TableItemPatternIdentifiers.cs
- Span.cs
- MobileControlsSectionHandler.cs
- TextRangeAdaptor.cs
- InstanceKey.cs
- ListItemParagraph.cs
- File.cs
- DataMemberConverter.cs
- ButtonBase.cs
- Brush.cs
- BitmapMetadata.cs
- PaintValueEventArgs.cs
- WhitespaceRuleReader.cs
- FormViewPageEventArgs.cs
- MaskInputRejectedEventArgs.cs
- TextParaClient.cs
- SoapFormatterSinks.cs
- StringPropertyBuilder.cs
- PeerNameRecord.cs
- ExpressionVisitorHelpers.cs
- SecurityTokenException.cs
- smtpconnection.cs
- SoapSchemaExporter.cs
- UnmanagedMarshal.cs
- SkinBuilder.cs
- EncodingDataItem.cs
- TransformValueSerializer.cs
- GeneralEndpointIdentity.cs
- PeerObject.cs
- DataSet.cs
- EventMap.cs
- TypeConstant.cs
- DbConnectionOptions.cs
- AtomContentProperty.cs
- DragDrop.cs
- XamlTreeBuilder.cs
- TableCell.cs
- XmlWrappingReader.cs
- HttpSysSettings.cs
- AvTraceFormat.cs
- RefreshEventArgs.cs
- ScrollableControl.cs
- FunctionGenerator.cs
- WindowsIPAddress.cs
- InstanceHandle.cs
- ConnectorDragDropGlyph.cs
- StyleSheetRefUrlEditor.cs
- ChangeInterceptorAttribute.cs
- FontCollection.cs
- columnmapkeybuilder.cs
- FreezableOperations.cs
- _ChunkParse.cs
- XmlNodeList.cs
- ObservableDictionary.cs
- BackgroundWorker.cs
- HtmlControl.cs
- Latin1Encoding.cs
- DesignBinding.cs
- CopyOnWriteList.cs
- EntityDataSourceState.cs
- XmlSchemaSet.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SystemIPAddressInformation.cs
- AutoSizeComboBox.cs
- ToolStripDropDownClosedEventArgs.cs
- SectionVisual.cs
- DoubleAnimationUsingKeyFrames.cs
- DelayedRegex.cs
- CodeStatementCollection.cs