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
- ValidationSummary.cs
- MDIControlStrip.cs
- FilteredDataSetHelper.cs
- StrokeNodeOperations2.cs
- CharAnimationUsingKeyFrames.cs
- ThemeDirectoryCompiler.cs
- RtfFormatStack.cs
- AlphaSortedEnumConverter.cs
- ToolStripSettings.cs
- WebPermission.cs
- QilChoice.cs
- VectorAnimationBase.cs
- SelectionProviderWrapper.cs
- ProviderConnectionPointCollection.cs
- TableLayoutStyle.cs
- WindowsFormsSectionHandler.cs
- TableLayoutStyleCollection.cs
- CalendarDesigner.cs
- ProxyWebPart.cs
- CompoundFileDeflateTransform.cs
- OutputCacheSection.cs
- CryptoConfig.cs
- AnnotationComponentChooser.cs
- HashLookup.cs
- PropertyGrid.cs
- BamlLocalizableResourceKey.cs
- DataServiceBuildProvider.cs
- RuleDefinitions.cs
- Focus.cs
- PreProcessor.cs
- WebResourceAttribute.cs
- DescendentsWalker.cs
- TypeUtil.cs
- ProtocolInformationWriter.cs
- NegotiateStream.cs
- CqlLexerHelpers.cs
- PropagatorResult.cs
- GenerateTemporaryTargetAssembly.cs
- FamilyTypeface.cs
- GeneralTransform3DGroup.cs
- DataSourceDesigner.cs
- ServiceNameCollection.cs
- SocketStream.cs
- WebScriptEndpointElement.cs
- ProfilePropertySettings.cs
- ApplicationSettingsBase.cs
- ObjectConverter.cs
- _SSPIWrapper.cs
- Int16KeyFrameCollection.cs
- ToolStripContainerActionList.cs
- Workspace.cs
- PersonalizationStateInfo.cs
- ListViewTableRow.cs
- MessageFault.cs
- SQLInt16Storage.cs
- MessageQuerySet.cs
- RSAOAEPKeyExchangeFormatter.cs
- DocumentCollection.cs
- DigestTraceRecordHelper.cs
- VScrollProperties.cs
- GridSplitterAutomationPeer.cs
- _AcceptOverlappedAsyncResult.cs
- PreservationFileReader.cs
- OperatorExpressions.cs
- SQLByteStorage.cs
- ZipIOCentralDirectoryBlock.cs
- PropertyConverter.cs
- DomNameTable.cs
- TransportListener.cs
- ItemMap.cs
- PermissionSet.cs
- DesignerHierarchicalDataSourceView.cs
- DefaultBinder.cs
- ServiceXNameTypeConverter.cs
- Listen.cs
- WebPartDisplayMode.cs
- LoginName.cs
- WeakEventManager.cs
- CompressStream.cs
- IsolationInterop.cs
- UrlMappingsSection.cs
- SoapIgnoreAttribute.cs
- NonBatchDirectoryCompiler.cs
- ThaiBuddhistCalendar.cs
- ExpressionConverter.cs
- SemanticResultValue.cs
- DataGridViewRow.cs
- AutoSizeComboBox.cs
- RefreshPropertiesAttribute.cs
- DuplicateMessageDetector.cs
- StreamReader.cs
- ConnectionsZone.cs
- HandledMouseEvent.cs
- ControlType.cs
- BoundField.cs
- PropertyConverter.cs
- TemplateXamlParser.cs
- IDReferencePropertyAttribute.cs
- SoapClientProtocol.cs
- CaseStatement.cs