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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TimeSpan.cs
- SystemIcmpV6Statistics.cs
- EntityProviderServices.cs
- XNodeSchemaApplier.cs
- AutoGeneratedField.cs
- GAC.cs
- ContentOperations.cs
- AjaxFrameworkAssemblyAttribute.cs
- MergePropertyDescriptor.cs
- ListBase.cs
- InputBinding.cs
- XmlAnyElementAttributes.cs
- ToolStripItemRenderEventArgs.cs
- SharedPerformanceCounter.cs
- WindowsGraphicsCacheManager.cs
- Win32Exception.cs
- CodeExporter.cs
- SystemNetworkInterface.cs
- Normalization.cs
- SplitterPanel.cs
- RuntimeVariablesExpression.cs
- MsmqInputMessage.cs
- WindowsFormsSynchronizationContext.cs
- ViewCellSlot.cs
- ZipFileInfoCollection.cs
- SpotLight.cs
- RectKeyFrameCollection.cs
- PaintValueEventArgs.cs
- DispatcherHooks.cs
- XmlSerializerSection.cs
- SiteMapNode.cs
- PenLineJoinValidation.cs
- XmlAtomErrorReader.cs
- NullableDoubleSumAggregationOperator.cs
- AttributeCollection.cs
- ConfigurationSettings.cs
- PolicyLevel.cs
- HttpPostedFile.cs
- BitmapDecoder.cs
- InputLanguageCollection.cs
- FragmentQueryProcessor.cs
- Cloud.cs
- FixedSOMTextRun.cs
- FixedPage.cs
- RadioButtonStandardAdapter.cs
- ControlBindingsCollection.cs
- MemoryMappedViewStream.cs
- EntityCommandCompilationException.cs
- Helper.cs
- TTSEvent.cs
- BinaryCommonClasses.cs
- ExplicitDiscriminatorMap.cs
- streamingZipPartStream.cs
- RadioButton.cs
- DefaultDialogButtons.cs
- DefaultWorkflowLoaderService.cs
- HierarchicalDataBoundControlAdapter.cs
- BatchWriter.cs
- JsonReader.cs
- brushes.cs
- CodeDefaultValueExpression.cs
- ToolStripDropDownClosedEventArgs.cs
- PerformanceCounter.cs
- DetailsViewDeletedEventArgs.cs
- RankException.cs
- DataGridViewToolTip.cs
- PageCatalogPart.cs
- DataGridViewSelectedRowCollection.cs
- SyndicationDeserializer.cs
- CatalogPart.cs
- TemplateBamlTreeBuilder.cs
- CodeTypeMember.cs
- X509Certificate.cs
- _KerberosClient.cs
- DataGridView.cs
- assemblycache.cs
- GridViewUpdateEventArgs.cs
- PolicyStatement.cs
- GeometryModel3D.cs
- SafeCertificateStore.cs
- MemberAssignmentAnalysis.cs
- KeyManager.cs
- COM2AboutBoxPropertyDescriptor.cs
- RegexWriter.cs
- TaskDesigner.cs
- ChtmlImageAdapter.cs
- WorkflowViewService.cs
- ColumnMapCopier.cs
- HttpWebResponse.cs
- CodeDomLocalizationProvider.cs
- ProfilePropertySettingsCollection.cs
- Decimal.cs
- DateTimeConstantAttribute.cs
- DataErrorValidationRule.cs
- LocatorGroup.cs
- BlobPersonalizationState.cs
- HttpApplicationStateWrapper.cs
- DataSourceExpressionCollection.cs
- StringValidatorAttribute.cs
- EditorZone.cs