Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- XmlSubtreeReader.cs
- LoginName.cs
- ReturnEventArgs.cs
- DES.cs
- InfiniteIntConverter.cs
- StateItem.cs
- XmlAtomicValue.cs
- TextServicesCompartment.cs
- SapiRecognizer.cs
- AsyncCompletedEventArgs.cs
- Thread.cs
- SelectionHighlightInfo.cs
- SqlConnectionPoolGroupProviderInfo.cs
- NamespaceDisplayAutomationPeer.cs
- PrintDialog.cs
- XmlSchemaCollection.cs
- TreeWalkHelper.cs
- CacheEntry.cs
- ViewManager.cs
- MD5Cng.cs
- UnsupportedPolicyOptionsException.cs
- TreeView.cs
- TeredoHelper.cs
- PolyBezierSegment.cs
- Bidi.cs
- XmlQueryContext.cs
- CodeStatementCollection.cs
- ImageSourceConverter.cs
- ClientScriptManager.cs
- DesignerTextWriter.cs
- Viewport3DVisual.cs
- StrokeFIndices.cs
- CommandConverter.cs
- JpegBitmapEncoder.cs
- BasePropertyDescriptor.cs
- DragCompletedEventArgs.cs
- OptimizedTemplateContent.cs
- RSAPKCS1SignatureDeformatter.cs
- X509CertificateValidator.cs
- CellRelation.cs
- Serializer.cs
- StringSorter.cs
- PenThread.cs
- StorageTypeMapping.cs
- CommandField.cs
- RawStylusInputReport.cs
- TextElement.cs
- ByteAnimationUsingKeyFrames.cs
- Aes.cs
- NominalTypeEliminator.cs
- DiagnosticsConfiguration.cs
- DataGridViewCheckBoxCell.cs
- LOSFormatter.cs
- CircleHotSpot.cs
- AliasGenerator.cs
- NCryptNative.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DataControlButton.cs
- CodeComment.cs
- EntityViewContainer.cs
- ListItemParagraph.cs
- JournalEntryListConverter.cs
- Model3DGroup.cs
- Dispatcher.cs
- DataException.cs
- SelectionGlyph.cs
- TransformerConfigurationWizardBase.cs
- MailDefinition.cs
- ChildrenQuery.cs
- TreeNodeMouseHoverEvent.cs
- JapaneseCalendar.cs
- Wildcard.cs
- XmlSchemaObjectCollection.cs
- UIPermission.cs
- FileDialogCustomPlace.cs
- TreeNodeCollection.cs
- CharEntityEncoderFallback.cs
- XmlDocumentSchema.cs
- SyndicationDeserializer.cs
- PerfCounters.cs
- Pair.cs
- DragEventArgs.cs
- X509Utils.cs
- DeflateEmulationStream.cs
- SqlRewriteScalarSubqueries.cs
- DirectionalLight.cs
- XmlNodeChangedEventArgs.cs
- SiteOfOriginPart.cs
- Reference.cs
- UnsafeNetInfoNativeMethods.cs
- PartialClassGenerationTaskInternal.cs
- LogFlushAsyncResult.cs
- DetailsViewUpdateEventArgs.cs
- RadialGradientBrush.cs
- ToolStripSeparator.cs
- HttpCapabilitiesSectionHandler.cs
- Logging.cs
- XmlTextWriter.cs
- EdmToObjectNamespaceMap.cs
- TreeNodeCollectionEditorDialog.cs