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
- ToolStripRenderer.cs
- TextContainerChangeEventArgs.cs
- TranslateTransform.cs
- LongValidatorAttribute.cs
- StrokeRenderer.cs
- PKCS1MaskGenerationMethod.cs
- MarkupProperty.cs
- Header.cs
- HitTestParameters3D.cs
- ChannelServices.cs
- TypeCodeDomSerializer.cs
- DeviceFiltersSection.cs
- IResourceProvider.cs
- SignatureHelper.cs
- XmlElementAttributes.cs
- StreamReader.cs
- AssertSection.cs
- FontFaceLayoutInfo.cs
- ViewManagerAttribute.cs
- SqlCommand.cs
- ApplicationHost.cs
- UnsafeNativeMethods.cs
- Span.cs
- DiscoveryReference.cs
- FilteredAttributeCollection.cs
- ButtonColumn.cs
- AnnotationDocumentPaginator.cs
- DataObjectPastingEventArgs.cs
- EffectiveValueEntry.cs
- SQLInt16.cs
- XslCompiledTransform.cs
- EventManager.cs
- DocumentGridContextMenu.cs
- SignedXmlDebugLog.cs
- UpdateExpressionVisitor.cs
- QueryStringParameter.cs
- XMLSyntaxException.cs
- WindowsToolbarItemAsMenuItem.cs
- MaterialGroup.cs
- StringKeyFrameCollection.cs
- ReaderOutput.cs
- PropertyTabChangedEvent.cs
- _ConnectStream.cs
- BoolExpression.cs
- CharacterMetrics.cs
- WindowsNonControl.cs
- DataBoundControlHelper.cs
- CLSCompliantAttribute.cs
- BookmarkScopeManager.cs
- InternalDispatchObject.cs
- TextRange.cs
- PerformanceCountersElement.cs
- DescendantQuery.cs
- ByeOperationCD1AsyncResult.cs
- ObjectStateFormatter.cs
- SeverityFilter.cs
- DocumentReference.cs
- RankException.cs
- AttributedMetaModel.cs
- FontSourceCollection.cs
- DocumentPageTextView.cs
- PathFigure.cs
- Nullable.cs
- SchemaElementLookUpTable.cs
- DeviceContext2.cs
- PermissionAttributes.cs
- TraceContextRecord.cs
- InkPresenterAutomationPeer.cs
- QilIterator.cs
- XmlTextReader.cs
- DataServiceQueryOfT.cs
- SqlDependencyUtils.cs
- CapabilitiesState.cs
- XhtmlConformanceSection.cs
- DateTimeOffsetConverter.cs
- AttributedMetaModel.cs
- UpdateCommand.cs
- Common.cs
- SimpleBitVector32.cs
- TemplatedWizardStep.cs
- ErrorHandler.cs
- XmlSerializerNamespaces.cs
- XPathNodePointer.cs
- XsdCachingReader.cs
- DataGridViewIntLinkedList.cs
- CompatibleIComparer.cs
- Visual3D.cs
- HttpHandlersSection.cs
- AspNetHostingPermission.cs
- SystemParameters.cs
- CalendarDesigner.cs
- Recipient.cs
- XmlMtomWriter.cs
- FixedSOMPageConstructor.cs
- TemplatedWizardStep.cs
- UpdatePanel.cs
- XmlQualifiedNameTest.cs
- CancelEventArgs.cs
- TagPrefixInfo.cs
- XmlToDatasetMap.cs