Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HandlerBase.cs
- XmlSchemaInfo.cs
- RuleSetDialog.cs
- ActivityExecutor.cs
- GroupItem.cs
- PassportPrincipal.cs
- Transform3D.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ButtonRenderer.cs
- FileSystemInfo.cs
- columnmapkeybuilder.cs
- ZipIOBlockManager.cs
- ConvertTextFrag.cs
- ExclusiveCanonicalizationTransform.cs
- MDIWindowDialog.cs
- CustomAttribute.cs
- QilXmlReader.cs
- RawUIStateInputReport.cs
- BindingExpressionBase.cs
- ScriptControl.cs
- ZipIORawDataFileBlock.cs
- NonSerializedAttribute.cs
- TimeZone.cs
- PrtCap_Base.cs
- CaseKeyBox.xaml.cs
- XamlReaderConstants.cs
- FacetValueContainer.cs
- IIS7UserPrincipal.cs
- ConditionBrowserDialog.cs
- LinkTarget.cs
- XmlSchemaDatatype.cs
- SecurityContext.cs
- CodeDomSerializationProvider.cs
- DefaultCommandConverter.cs
- AddressingVersion.cs
- RadioButtonRenderer.cs
- TabControl.cs
- Application.cs
- NativeMethods.cs
- hresults.cs
- ViewStateException.cs
- Decoder.cs
- StylusEventArgs.cs
- MaskedTextBoxDesignerActionList.cs
- SecurityRuntime.cs
- DataGridViewCheckBoxColumn.cs
- QueryContinueDragEventArgs.cs
- IUnknownConstantAttribute.cs
- ExtendedTransformFactory.cs
- CharStorage.cs
- BypassElementCollection.cs
- ProxyWebPartManager.cs
- TextServicesDisplayAttributePropertyRanges.cs
- EmptyEnumerator.cs
- WebServiceClientProxyGenerator.cs
- TypeConverter.cs
- ProfileManager.cs
- XmlElementAttribute.cs
- ReplyAdapterChannelListener.cs
- _RequestCacheProtocol.cs
- AssemblyAttributes.cs
- BamlTreeMap.cs
- DesignTimeData.cs
- WorkflowTransactionOptions.cs
- DbConnectionPoolOptions.cs
- BindableTemplateBuilder.cs
- PagedControl.cs
- ListViewItem.cs
- DataSourceCache.cs
- WebPartCancelEventArgs.cs
- StringPropertyBuilder.cs
- SuppressMergeCheckAttribute.cs
- DataGridViewMethods.cs
- PropertyRecord.cs
- WebPartZoneCollection.cs
- TraceFilter.cs
- ToolBarPanel.cs
- ValueSerializerAttribute.cs
- AvTraceFormat.cs
- ListControlDesigner.cs
- SelectionProviderWrapper.cs
- XmlDocumentSerializer.cs
- XmlNodeWriter.cs
- _BufferOffsetSize.cs
- SafeSystemMetrics.cs
- RegisteredHiddenField.cs
- ThreadStartException.cs
- RadioButtonList.cs
- SmtpNtlmAuthenticationModule.cs
- ObjectCloneHelper.cs
- StdValidatorsAndConverters.cs
- MetadataSerializer.cs
- AnimationClockResource.cs
- ReadOnlyHierarchicalDataSourceView.cs
- CustomAttribute.cs
- StringAnimationBase.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- _ContextAwareResult.cs
- DataSpaceManager.cs
- HttpHandlerAction.cs