Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DataGridSortCommandEventArgs.cs / 1305376 / DataGridSortCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Diagnostics.CodeAnalysis; ////// public class DataGridSortCommandEventArgs : EventArgs { private string sortExpression; private object commandSource; ///Provides data for the ///event of a . /// /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] 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.Diagnostics.CodeAnalysis; ////// public class DataGridSortCommandEventArgs : EventArgs { private string sortExpression; private object commandSource; ///Provides data for the ///event of a . /// /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] 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
- HandlerBase.cs
- XPathBuilder.cs
- SafeWaitHandle.cs
- DetailsViewPageEventArgs.cs
- XmlArrayItemAttributes.cs
- ConnectionOrientedTransportChannelListener.cs
- RepeatButtonAutomationPeer.cs
- BuildManager.cs
- Region.cs
- UnsafeNativeMethods.cs
- PropertyInformationCollection.cs
- Evaluator.cs
- SettingsProviderCollection.cs
- StaticFileHandler.cs
- ServiceHttpModule.cs
- _PooledStream.cs
- MimeBasePart.cs
- ManagedFilter.cs
- RegexWriter.cs
- ObjRef.cs
- WithParamAction.cs
- SmiEventStream.cs
- Thumb.cs
- OdbcCommandBuilder.cs
- Oid.cs
- DataKeyPropertyAttribute.cs
- PermissionListSet.cs
- FileUtil.cs
- QuaternionAnimationUsingKeyFrames.cs
- WeakEventTable.cs
- ReaderWriterLockWrapper.cs
- FloaterParagraph.cs
- COAUTHINFO.cs
- InkCanvasSelectionAdorner.cs
- DbConnectionPoolCounters.cs
- RtfToXamlLexer.cs
- ConfigurationLocation.cs
- XmlWriterTraceListener.cs
- XmlLinkedNode.cs
- File.cs
- ConnectAlgorithms.cs
- ChangeConflicts.cs
- PenContext.cs
- AuthorizationSection.cs
- LocalizableResourceBuilder.cs
- HtmlProps.cs
- DecoderNLS.cs
- DeviceContext2.cs
- BatchServiceHost.cs
- AddressHeader.cs
- HtmlGenericControl.cs
- InputChannelBinder.cs
- GraphicsContainer.cs
- unitconverter.cs
- RowToParametersTransformer.cs
- CultureSpecificStringDictionary.cs
- RC2CryptoServiceProvider.cs
- StringSource.cs
- PropertyDescriptor.cs
- IgnoreSection.cs
- ObservableCollectionDefaultValueFactory.cs
- DataSourceNameHandler.cs
- InlineCollection.cs
- DataSourceGroupCollection.cs
- AbstractExpressions.cs
- BitmapEffectInput.cs
- ImageField.cs
- PlanCompiler.cs
- ErrorWebPart.cs
- BridgeDataReader.cs
- DrawingContextWalker.cs
- RuntimeConfigurationRecord.cs
- Translator.cs
- NeutralResourcesLanguageAttribute.cs
- ThicknessAnimationUsingKeyFrames.cs
- ObjectViewListener.cs
- TimerEventSubscriptionCollection.cs
- ProfileSettingsCollection.cs
- StylusDevice.cs
- Int16AnimationUsingKeyFrames.cs
- FlowDecision.cs
- XmlILIndex.cs
- SudsCommon.cs
- ContentType.cs
- WebContext.cs
- VectorCollectionConverter.cs
- MdiWindowListItemConverter.cs
- CompatibleIComparer.cs
- CharEnumerator.cs
- SoapMessage.cs
- XmlWrappingReader.cs
- TouchesCapturedWithinProperty.cs
- EntityProviderFactory.cs
- XmlDownloadManager.cs
- ConfigXmlComment.cs
- ShadowGlyph.cs
- _FtpDataStream.cs
- glyphs.cs
- TextDocumentView.cs
- CachedFontFace.cs