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 / DataGridSortCommandEventArgs.cs / 1 / DataGridSortCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataGridSortCommandEventArgs : EventArgs { private string sortExpression; private object commandSource; ///Provides data for the ///event of a . /// /// public DataGridSortCommandEventArgs(object commandSource, DataGridCommandEventArgs dce) { this.commandSource = commandSource; this.sortExpression = (string)dce.CommandArgument; } ///Initializes a new instance of the ///class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public string SortExpression { get { return sortExpression; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the expression used to sort. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataGridSortCommandEventArgs : EventArgs { private string sortExpression; private object commandSource; ///Provides data for the ///event of a . /// /// public DataGridSortCommandEventArgs(object commandSource, DataGridCommandEventArgs dce) { this.commandSource = commandSource; this.sortExpression = (string)dce.CommandArgument; } ///Initializes a new instance of the ///class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public string SortExpression { get { return sortExpression; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the expression used to sort. This property is read-only. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourcePermissionBase.cs
- Byte.cs
- RuntimeResourceSet.cs
- DictionarySectionHandler.cs
- EntitySetBaseCollection.cs
- DateTimeStorage.cs
- CalloutQueueItem.cs
- ProviderCommandInfoUtils.cs
- TextViewSelectionProcessor.cs
- DataRecordInfo.cs
- ContentHostHelper.cs
- TabControlEvent.cs
- Point4D.cs
- TypeGeneratedEventArgs.cs
- PropertyIdentifier.cs
- HtmlTableCellCollection.cs
- _ScatterGatherBuffers.cs
- SoapHeader.cs
- InfoCardAsymmetricCrypto.cs
- StructuralCache.cs
- FragmentQueryProcessor.cs
- ScriptHandlerFactory.cs
- Mouse.cs
- ElementMarkupObject.cs
- SlotInfo.cs
- BrowserCapabilitiesCompiler.cs
- DesignerAutoFormatStyle.cs
- TransportationConfigurationTypeInstallComponent.cs
- XmlSerializableReader.cs
- DoubleAnimationBase.cs
- XmlQueryContext.cs
- Message.cs
- ChtmlFormAdapter.cs
- CodeAccessPermission.cs
- PageTheme.cs
- MeshGeometry3D.cs
- ObjectParameterCollection.cs
- DataServiceExpressionVisitor.cs
- MemoryMappedViewStream.cs
- SqlDataSourceStatusEventArgs.cs
- listitem.cs
- OleDbMetaDataFactory.cs
- SrgsGrammar.cs
- NotifyParentPropertyAttribute.cs
- CredentialCache.cs
- StylusEventArgs.cs
- NavigationProperty.cs
- ResolveCriteria11.cs
- EnumMember.cs
- OpenTypeMethods.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- ActivityMarkupSerializer.cs
- ItemAutomationPeer.cs
- NameTable.cs
- PolyLineSegment.cs
- BinaryObjectReader.cs
- ClusterSafeNativeMethods.cs
- OciLobLocator.cs
- AvTraceDetails.cs
- TdsRecordBufferSetter.cs
- SmtpNegotiateAuthenticationModule.cs
- FontStretch.cs
- WebPartDisplayModeCollection.cs
- CollectionView.cs
- PtsHost.cs
- CharacterBuffer.cs
- WebPartZoneBase.cs
- Deflater.cs
- TextBoxRenderer.cs
- XpsDocument.cs
- WebControlsSection.cs
- ControlCachePolicy.cs
- InstanceValue.cs
- HostedBindingBehavior.cs
- ActivityExecutorDelegateInfo.cs
- DescendentsWalkerBase.cs
- MonikerHelper.cs
- Invariant.cs
- UnsafeNativeMethods.cs
- Hash.cs
- ReadOnlyHierarchicalDataSourceView.cs
- CacheHelper.cs
- SiteOfOriginContainer.cs
- Publisher.cs
- AssemblyInfo.cs
- OleDbMetaDataFactory.cs
- CallbackValidatorAttribute.cs
- GeneralTransform3D.cs
- OrderToken.cs
- ColumnTypeConverter.cs
- ErrorLog.cs
- InputElement.cs
- MetadataCache.cs
- CacheEntry.cs
- PropertyDescriptorCollection.cs
- MailMessageEventArgs.cs
- SQLCharsStorage.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ActivityTypeDesigner.xaml.cs
- ExpressionNormalizer.cs