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
- HwndSourceKeyboardInputSite.cs
- ObjectListGeneralPage.cs
- InputMethodStateChangeEventArgs.cs
- SchemaTypeEmitter.cs
- TextRangeEdit.cs
- NamespaceEmitter.cs
- ResourceExpressionBuilder.cs
- SystemIcmpV4Statistics.cs
- SecurityKeyIdentifier.cs
- DesignBindingValueUIHandler.cs
- IssuerInformation.cs
- CodeIdentifiers.cs
- SqlClientWrapperSmiStream.cs
- SqlBuffer.cs
- ConstructorArgumentAttribute.cs
- StylusDevice.cs
- XmlCharCheckingWriter.cs
- PaperSize.cs
- FormsIdentity.cs
- DataSourceConverter.cs
- ConsoleKeyInfo.cs
- StringArrayConverter.cs
- SafeJobHandle.cs
- Thread.cs
- StateBag.cs
- XmlChoiceIdentifierAttribute.cs
- WindowsListViewItemStartMenu.cs
- AppDomainUnloadedException.cs
- ping.cs
- AccessibilityHelperForVista.cs
- XmlSchemaCompilationSettings.cs
- JapaneseCalendar.cs
- TargetConverter.cs
- ImpersonateTokenRef.cs
- SqlCommand.cs
- IntSecurity.cs
- SmiRecordBuffer.cs
- HandlerBase.cs
- MarkerProperties.cs
- SqlCharStream.cs
- UnsafeNativeMethods.cs
- FormViewCommandEventArgs.cs
- TreeNode.cs
- CrossContextChannel.cs
- CultureInfoConverter.cs
- SqlXmlStorage.cs
- StatusBarItem.cs
- ToolBarButton.cs
- DataErrorValidationRule.cs
- System.Data_BID.cs
- DefaultObjectSerializer.cs
- StringKeyFrameCollection.cs
- PrimaryKeyTypeConverter.cs
- RequestCacheValidator.cs
- BitmapEffectrendercontext.cs
- SecurityUtils.cs
- ComplexTypeEmitter.cs
- ListSortDescriptionCollection.cs
- ContainerFilterService.cs
- DBNull.cs
- InvalidateEvent.cs
- WindowsScrollBarBits.cs
- HashMembershipCondition.cs
- ModelItemExtensions.cs
- LocalizationComments.cs
- CodeTypeDelegate.cs
- EdmItemError.cs
- NameNode.cs
- BinaryFormatterSinks.cs
- ObjectIDGenerator.cs
- BrowsableAttribute.cs
- ViewGenResults.cs
- Metadata.cs
- ObjectPersistData.cs
- XmlBoundElement.cs
- IntSumAggregationOperator.cs
- UpdateCommand.cs
- Query.cs
- CommandHelpers.cs
- ToolStripTextBox.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SQLBinaryStorage.cs
- BinaryObjectWriter.cs
- SiteMapPath.cs
- RegexMatchCollection.cs
- CodeDelegateCreateExpression.cs
- DmlSqlGenerator.cs
- NullExtension.cs
- Light.cs
- MobileResource.cs
- DesignTimeTemplateParser.cs
- Knowncolors.cs
- InvokeHandlers.cs
- MultiPropertyDescriptorGridEntry.cs
- _WebProxyDataBuilder.cs
- CopyAttributesAction.cs
- CurrencyManager.cs
- SecureUICommand.cs
- ClientSideProviderDescription.cs
- MappingItemCollection.cs