Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewSortEventArgs.cs / 1 / GridViewSortEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; ///Provides data for the ///event of a . /// /// public GridViewSortEventArgs(string sortExpression, SortDirection sortDirection) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ///Initializes a new instance of the ///class. /// 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. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; ///Provides data for the ///event of a . /// /// public GridViewSortEventArgs(string sortExpression, SortDirection sortDirection) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ///Initializes a new instance of the ///class. /// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AssertSection.cs
- BamlLocalizationDictionary.cs
- BordersPage.cs
- XmlIgnoreAttribute.cs
- RTLAwareMessageBox.cs
- XPathPatternBuilder.cs
- SqlProviderServices.cs
- CodeCatchClause.cs
- DataGridHelper.cs
- HTTPNotFoundHandler.cs
- NameSpaceExtractor.cs
- VerticalAlignConverter.cs
- ElapsedEventArgs.cs
- SecurityException.cs
- StateManagedCollection.cs
- EditorResources.cs
- StreamInfo.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- CallInfo.cs
- StaticExtension.cs
- ZoneIdentityPermission.cs
- TemplateComponentConnector.cs
- MergeFilterQuery.cs
- ProcessModelInfo.cs
- ConnectionOrientedTransportElement.cs
- DeclarativeCatalogPart.cs
- HiddenFieldPageStatePersister.cs
- MessageLoggingFilterTraceRecord.cs
- XmlObjectSerializerReadContext.cs
- DocumentApplication.cs
- BooleanStorage.cs
- SmtpDateTime.cs
- DataSvcMapFile.cs
- RowParagraph.cs
- ScriptResourceDefinition.cs
- FontConverter.cs
- BindingList.cs
- ObjectItemCollection.cs
- NodeLabelEditEvent.cs
- XmlSchemaSimpleTypeRestriction.cs
- SafeHandle.cs
- VsPropertyGrid.cs
- RtfToken.cs
- LayoutEvent.cs
- PrintingPermissionAttribute.cs
- WebDescriptionAttribute.cs
- PerCallInstanceContextProvider.cs
- CompressEmulationStream.cs
- MarkupCompilePass2.cs
- Executor.cs
- EntityDataSourceContainerNameItem.cs
- Evidence.cs
- InputLangChangeEvent.cs
- ThreadTrace.cs
- EventDescriptor.cs
- LeafCellTreeNode.cs
- LinqDataSource.cs
- WindowInteropHelper.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- InlineObject.cs
- ParameterModifier.cs
- HttpDictionary.cs
- GradientStopCollection.cs
- WriteTimeStream.cs
- Message.cs
- MenuItemBinding.cs
- CompilerCollection.cs
- FieldNameLookup.cs
- InputBinding.cs
- CqlBlock.cs
- TemplateGroupCollection.cs
- HtmlGenericControl.cs
- PnrpPermission.cs
- Cursors.cs
- TrustLevelCollection.cs
- RepeatBehaviorConverter.cs
- GenericsInstances.cs
- ConstantCheck.cs
- RegexCharClass.cs
- StandardBindingCollectionElement.cs
- FormatterConverter.cs
- DataError.cs
- BitmapScalingModeValidation.cs
- ConnectionPoint.cs
- WindowsGrip.cs
- RoleServiceManager.cs
- AssemblyNameUtility.cs
- ProcessHostConfigUtils.cs
- Select.cs
- PagesSection.cs
- Attribute.cs
- StringCollection.cs
- ImageAutomationPeer.cs
- ValidationError.cs
- LassoSelectionBehavior.cs
- PropertyChangingEventArgs.cs
- SimpleApplicationHost.cs
- ServiceBehaviorAttribute.cs
- ObjectSet.cs
- WindowsTokenRoleProvider.cs