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
- ListViewDataItem.cs
- BitmapEffectCollection.cs
- RestHandlerFactory.cs
- TabletCollection.cs
- ListControl.cs
- ProxyHelper.cs
- Error.cs
- SplashScreen.cs
- RemoteWebConfigurationHostServer.cs
- UrlMappingCollection.cs
- BindingMAnagerBase.cs
- X509WindowsSecurityToken.cs
- XmlUTF8TextReader.cs
- SqlDataAdapter.cs
- SqlCacheDependencyDatabase.cs
- ThaiBuddhistCalendar.cs
- WeakEventTable.cs
- TextSelectionProcessor.cs
- Marshal.cs
- FixedPage.cs
- WinFormsComponentEditor.cs
- OptimalTextSource.cs
- DbMetaDataFactory.cs
- TableLayoutCellPaintEventArgs.cs
- ViewgenGatekeeper.cs
- SqlDataReader.cs
- EmptyControlCollection.cs
- XhtmlBasicCommandAdapter.cs
- BitmapEncoder.cs
- ListItemCollection.cs
- JpegBitmapDecoder.cs
- FillBehavior.cs
- RegexInterpreter.cs
- SymbolEqualComparer.cs
- ObjectConverter.cs
- XPathNodeIterator.cs
- CallInfo.cs
- RotateTransform3D.cs
- TraceData.cs
- DataGridViewCell.cs
- OleDbPropertySetGuid.cs
- BitmapEffectDrawingContent.cs
- SqlFunctions.cs
- TCPClient.cs
- SpeechSynthesizer.cs
- OperatingSystem.cs
- ClientConfigurationHost.cs
- CreateUserWizardStep.cs
- CapiSymmetricAlgorithm.cs
- HttpCookiesSection.cs
- DataReaderContainer.cs
- WebRequestModulesSection.cs
- autovalidator.cs
- PerfCounterSection.cs
- HttpFileCollection.cs
- BatchServiceHost.cs
- ThreadPool.cs
- OptimalTextSource.cs
- BamlReader.cs
- EventLogPermissionHolder.cs
- TreePrinter.cs
- SqlEnums.cs
- TraceSection.cs
- ByteAnimation.cs
- AnonymousIdentificationSection.cs
- WebEventTraceProvider.cs
- XamlTreeBuilder.cs
- GuidConverter.cs
- LambdaCompiler.Logical.cs
- Debug.cs
- Run.cs
- SafeNativeMethods.cs
- PanelStyle.cs
- DataGridViewAdvancedBorderStyle.cs
- AsnEncodedData.cs
- PackUriHelper.cs
- DbProviderFactories.cs
- Membership.cs
- InstanceKeyCollisionException.cs
- ExtensionWindowHeader.cs
- AccessedThroughPropertyAttribute.cs
- ButtonBaseAdapter.cs
- Currency.cs
- IconHelper.cs
- PixelShader.cs
- CodeEntryPointMethod.cs
- TextParentUndoUnit.cs
- XPathExpr.cs
- ProviderCommandInfoUtils.cs
- MenuDesigner.cs
- BamlBinaryReader.cs
- MailHeaderInfo.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- FrameworkElement.cs
- DataPagerFieldCommandEventArgs.cs
- GeneralTransform3D.cs
- ImageAutomationPeer.cs
- StyleCollection.cs
- M3DUtil.cs
- EFAssociationProvider.cs