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
- FontCollection.cs
- DesignerGenericWebPart.cs
- TextComposition.cs
- GridProviderWrapper.cs
- AttributeQuery.cs
- ConfigurationLoaderException.cs
- HttpResponse.cs
- IgnoreFlushAndCloseStream.cs
- BufferedGenericXmlSecurityToken.cs
- DeferredRunTextReference.cs
- HelpEvent.cs
- FixedLineResult.cs
- IndexingContentUnit.cs
- FaultContractAttribute.cs
- SymLanguageType.cs
- StylusPointCollection.cs
- LinkTarget.cs
- ISAPIApplicationHost.cs
- webclient.cs
- SolidColorBrush.cs
- SecureStringHasher.cs
- DiagnosticsConfiguration.cs
- Input.cs
- WorkflowEnvironment.cs
- DataRowExtensions.cs
- ButtonColumn.cs
- ResourceProviderFactory.cs
- FrameworkContentElement.cs
- ServiceModelConfigurationSectionCollection.cs
- GroupQuery.cs
- DetailsViewPageEventArgs.cs
- StringInfo.cs
- _UncName.cs
- PlacementWorkspace.cs
- XmlSchemaElement.cs
- PointConverter.cs
- StorageSetMapping.cs
- BitArray.cs
- SplineQuaternionKeyFrame.cs
- ScriptReferenceEventArgs.cs
- HtmlFormWrapper.cs
- StringConcat.cs
- InputElement.cs
- ListViewPagedDataSource.cs
- BinaryMethodMessage.cs
- PerformanceCounterTraceRecord.cs
- EventBuilder.cs
- TransactionFlowBindingElement.cs
- Attachment.cs
- DataGridViewCheckBoxColumn.cs
- StickyNote.cs
- X509Chain.cs
- PageBreakRecord.cs
- DbParameterHelper.cs
- CompatibleComparer.cs
- ContentPlaceHolder.cs
- InvalidAsynchronousStateException.cs
- Regex.cs
- ProtectedConfigurationSection.cs
- GAC.cs
- AttachmentCollection.cs
- GridViewHeaderRowPresenter.cs
- DataGridViewColumnStateChangedEventArgs.cs
- EditorAttributeInfo.cs
- CubicEase.cs
- propertytag.cs
- TextCompositionManager.cs
- ConfigXmlElement.cs
- InputLanguageSource.cs
- TextEditorThreadLocalStore.cs
- MarkupCompiler.cs
- FormViewInsertEventArgs.cs
- ColumnHeaderConverter.cs
- TreeView.cs
- ParallelDesigner.xaml.cs
- FontCacheLogic.cs
- QueryCacheManager.cs
- MasterPageCodeDomTreeGenerator.cs
- IndependentAnimationStorage.cs
- DataTrigger.cs
- TextHidden.cs
- PerformanceCounterPermission.cs
- XmlSerializationGeneratedCode.cs
- ValueTypeFixupInfo.cs
- UnionQueryOperator.cs
- StsCommunicationException.cs
- NameValueSectionHandler.cs
- SymLanguageVendor.cs
- ImageSource.cs
- StdValidatorsAndConverters.cs
- DataIdProcessor.cs
- RadioButton.cs
- MaterializeFromAtom.cs
- SocketInformation.cs
- TypeUtil.cs
- COM2Properties.cs
- RSAProtectedConfigurationProvider.cs
- ToolStripMenuItem.cs
- MailAddressParser.cs
- FileReservationCollection.cs