Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- WebPartCloseVerb.cs
- ISAPIRuntime.cs
- XmlSiteMapProvider.cs
- ServiceReflector.cs
- CachedPathData.cs
- InputElement.cs
- CheckedPointers.cs
- Positioning.cs
- ServiceModelDictionary.cs
- BamlResourceContent.cs
- DocumentSequence.cs
- OleDbEnumerator.cs
- CompiledXpathExpr.cs
- DynamicPropertyReader.cs
- SelectedGridItemChangedEvent.cs
- Utils.cs
- DataKeyCollection.cs
- ActivityExecutionContextCollection.cs
- AssemblyCacheEntry.cs
- MtomMessageEncodingElement.cs
- PolyQuadraticBezierSegment.cs
- BitmapDownload.cs
- AuditLevel.cs
- Int32Animation.cs
- LiteralLink.cs
- RemotingAttributes.cs
- ArraySortHelper.cs
- Exceptions.cs
- DesignerProperties.cs
- XmlDownloadManager.cs
- ToolboxItemFilterAttribute.cs
- DesignDataSource.cs
- DiscoveryCallbackBehavior.cs
- TableRowGroupCollection.cs
- DiscoveryCallbackBehavior.cs
- CfgParser.cs
- PlatformNotSupportedException.cs
- SoapFault.cs
- HelpKeywordAttribute.cs
- BrowsableAttribute.cs
- CodeTypeMember.cs
- HttpModuleCollection.cs
- SqlDataSourceTableQuery.cs
- PropertyItem.cs
- NavigationEventArgs.cs
- CardSpaceException.cs
- LifetimeServices.cs
- Quaternion.cs
- ImageSourceValueSerializer.cs
- CodeTypeConstructor.cs
- GenericRootAutomationPeer.cs
- PolyLineSegment.cs
- ExpressionLink.cs
- LocalIdKeyIdentifierClause.cs
- Region.cs
- NumberFormatter.cs
- XmlLoader.cs
- InputLanguageProfileNotifySink.cs
- FileDialog.cs
- Paragraph.cs
- ContextStaticAttribute.cs
- ScriptingRoleServiceSection.cs
- ToolBarButtonClickEvent.cs
- TraceUtility.cs
- DesignerActionVerbList.cs
- OracleException.cs
- WebPartHelpVerb.cs
- Quaternion.cs
- CheckBox.cs
- WmlSelectionListAdapter.cs
- SystemWebExtensionsSectionGroup.cs
- EntityViewContainer.cs
- SiteMapNodeItemEventArgs.cs
- Win32Native.cs
- HtmlTableRow.cs
- FormsIdentity.cs
- TargetParameterCountException.cs
- TrackingServices.cs
- InternalControlCollection.cs
- EntityConnectionStringBuilderItem.cs
- BindingCompleteEventArgs.cs
- AspCompat.cs
- MergeLocalizationDirectives.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ReadWriteSpinLock.cs
- ObjectReferenceStack.cs
- Geometry3D.cs
- HtmlInputButton.cs
- XamlTreeBuilder.cs
- DependencyObject.cs
- SmiEventSink_DeferedProcessing.cs
- LinearGradientBrush.cs
- CrossSiteScriptingValidation.cs
- Vector.cs
- TextOnlyOutput.cs
- __ConsoleStream.cs
- RelAssertionDirectKeyIdentifierClause.cs
- XamlWriter.cs
- TabletCollection.cs
- FastEncoder.cs