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
- RightsManagementEncryptedStream.cs
- UIElementPropertyUndoUnit.cs
- InternalsVisibleToAttribute.cs
- LongValidator.cs
- ToolStripRenderer.cs
- StylusButton.cs
- ModelItem.cs
- InstanceKeyCompleteException.cs
- CodeDirectiveCollection.cs
- QilFactory.cs
- CoreSwitches.cs
- BufferBuilder.cs
- AutoResizedEvent.cs
- SqlMethodCallConverter.cs
- LabelTarget.cs
- TableSectionStyle.cs
- BooleanFunctions.cs
- IDispatchConstantAttribute.cs
- XmlDictionary.cs
- SecurityContextSecurityTokenResolver.cs
- StreamDocument.cs
- CultureMapper.cs
- ClientConfigPaths.cs
- _TLSstream.cs
- ProfilePropertySettings.cs
- Helper.cs
- StylusCollection.cs
- SystemException.cs
- OutputCacheSettings.cs
- Win32Native.cs
- DetailsViewPagerRow.cs
- IdnElement.cs
- XmlPreloadedResolver.cs
- PeerCustomResolverBindingElement.cs
- Style.cs
- ServiceBusyException.cs
- _ListenerRequestStream.cs
- ChildrenQuery.cs
- TreeBuilderBamlTranslator.cs
- GotoExpression.cs
- PriorityRange.cs
- HijriCalendar.cs
- SemaphoreSlim.cs
- ScaleTransform3D.cs
- AtomServiceDocumentSerializer.cs
- RelativeSource.cs
- PowerStatus.cs
- View.cs
- ZipIOExtraField.cs
- WizardSideBarListControlItemEventArgs.cs
- VerificationAttribute.cs
- DrawingCollection.cs
- EnterpriseServicesHelper.cs
- HtmlShim.cs
- ListControlDataBindingHandler.cs
- Attributes.cs
- FileNameEditor.cs
- DataTableMappingCollection.cs
- ModelFunctionTypeElement.cs
- FontUnitConverter.cs
- LineProperties.cs
- ZipIOLocalFileHeader.cs
- ConditionalBranch.cs
- BridgeDataRecord.cs
- XmlIlTypeHelper.cs
- SystemColorTracker.cs
- NumberSubstitution.cs
- FixUpCollection.cs
- MetafileHeader.cs
- NamespaceDisplay.xaml.cs
- Debug.cs
- SHA256.cs
- BindingParameterCollection.cs
- InstanceDataCollection.cs
- TypeDelegator.cs
- ColorTransformHelper.cs
- DbTransaction.cs
- CachedFontFamily.cs
- ScriptBehaviorDescriptor.cs
- UxThemeWrapper.cs
- DbMetaDataFactory.cs
- RouteValueDictionary.cs
- FieldInfo.cs
- ToolboxDataAttribute.cs
- BinHexEncoding.cs
- DataGridTablesFactory.cs
- ListSourceHelper.cs
- SmtpCommands.cs
- CancellationHandler.cs
- CommandPlan.cs
- BaseComponentEditor.cs
- ACL.cs
- AccessKeyManager.cs
- DataGridViewRowPostPaintEventArgs.cs
- PerformanceCounterManager.cs
- TimeZone.cs
- ComplexPropertyEntry.cs
- Keywords.cs
- wgx_sdk_version.cs
- ClockGroup.cs